util-macros: Fix recipe

It seems it wants to install the .pc file into data/...
Manually fixed for now.
This commit is contained in:
François Revol
2013-12-11 12:16:30 +01:00
parent eb5114d03e
commit ada79a00a7

View File

@@ -1,3 +1,4 @@
SUMMARY="xorg util-macros"
DESCRIPTION="xorg util-macros"
HOMEPAGE="http://cgit.freedesktop.org/xorg/util/macros/"
COPYRIGHT="2005 Red Hat, Inc.
@@ -7,19 +8,42 @@ LICENSE="MIT"
SRC_URI="git://anongit.freedesktop.org/xorg/util/macros"
#CHECKSUM_MD5=""
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
util_macros$secondaryArchSuffix = $portVersion
devel:util_macros$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
cd util-macros-1.17.0-git
./autogen.sh -V
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_LIB_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd util-macros-1.17.0-git
make install
#fixPkgconfig
mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
}