mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
48 lines
1.0 KiB
Bash
48 lines
1.0 KiB
Bash
SUMMARY="X Resource Extension"
|
|
DESCRIPTION="This extension defines a protocol that allows a client to query \
|
|
the X server about its usage of various resources."
|
|
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
|
|
COPYRIGHT="2002 XFree86 Inc"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="3"
|
|
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/resourceproto-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="469029d14fdeeaa7eed1be585998ff4cb92cf664f872d1d69c04140815b78734"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
resourceproto$secondaryArchSuffix = $portVersion
|
|
devel:resourceproto$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
devel:util_macros
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
fixPkgconfig
|
|
}
|