mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
xtrans: Fix recipe
This commit is contained in:
@@ -1,23 +1,53 @@
|
||||
SUMMARY="xtrans"
|
||||
DESCRIPTION="xtrans"
|
||||
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
|
||||
SRC_URI="http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.2.5.tar.gz"
|
||||
CHECKSUM_MD5="b2f47d49faf1f24e8294b624b21b9b93"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="pkgconfig >= 0.23
|
||||
x11-misc/util-macros >= 1.7.0"
|
||||
|
||||
COPYRIGHT="1993, 1994, 1998 The Open Group
|
||||
1993, 1994 NCR Corporation - Dayton, Ohio, USA
|
||||
2002, 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
Copyright 1996 by Sebastien Marineau and Holger Veit
|
||||
2003 Keith Packard, Noah Levitt"
|
||||
LICENSE="MIT (no promotion)"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
xtrans$secondaryArchSuffix = $portVersion
|
||||
devel:xtrans$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:autoconf
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd xtrans-1.2.5
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY`
|
||||
runConfigure ./configure
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd xtrans-1.2.5
|
||||
make install
|
||||
mkdir -p $prefix/develop/lib${secondaryArchSuffix/_//}
|
||||
mv -f $prefix/data/pkgconfig $prefix/develop/lib${secondaryArchSuffix/_//}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user