Files
haikuports/x11-proto/glproto/glproto-1.4.17.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
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.
2021-09-15 15:40:18 -04:00

44 lines
890 B
Bash

SUMMARY="X.Org GL protocol headers"
DESCRIPTION="Headers for the X11 GL protocol."
HOMEPAGE="https://www.x.org/releases/individual/proto/"
COPYRIGHT="1991-2000 Silicon Graphics, Inc."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://www.x.org/releases/individual/proto/glproto-$portVersion.tar.bz2"
CHECKSUM_SHA256="adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
glproto$secondaryArchSuffix = $portVersion
devel:glproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
devel:util_macros
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
}
INSTALL()
{
make install
fixPkgconfig
}