0
0
Fork 0
haikuports/x11-proto/resourceproto/resourceproto-1.2.0.recipe

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
}