Files
haikuports/x11-misc/util_macros/util_macros-1.17.0_git.recipe

48 lines
1.1 KiB
Bash

SUMMARY="X.Org's autotools utility macros"
DESCRIPTION="This is a set of autoconf macros used by the configure.ac \
scripts in other Xorg modular packages, and is needed to generate new \
versions of their configure scripts with autoconf."
HOMEPAGE="http://cgit.freedesktop.org/xorg/util/macros/"
COPYRIGHT="2005 Red Hat, Inc.
2005, 2006 Oracle and/or its affiliates"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="git://anongit.freedesktop.org/xorg/util/macros"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
util_macros$secondaryArchSuffix = $portVersion
devel:util_macros$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
./autogen.sh -V
runConfigure ./configure
make
}
INSTALL()
{
make install
#fixPkgconfig
mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}