mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
util-macros: Fix recipe
It seems it wants to install the .pc file into data/... Manually fixed for now.
This commit is contained in:
@@ -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/_//}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user