Files
haikuports/x11-misc/util_macros/util_macros-1.19.0.recipe

50 lines
1.2 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="2"
SOURCE_URI="http://xorg.freedesktop.org/archive/individual/util/util-macros-1.19.0.tar.bz2"
CHECKSUM_SHA256="2835b11829ee634e19fa56517b4cfc52ef39acea0cd82e15f68096e27cbed0ba"
SOURCE_DIR="util-macros-$portVersion"
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/_//}/
}