xz_utils: drop libtool file, reorder sections. (#869)

This commit is contained in:
fbrosson
2016-11-14 07:38:49 +00:00
committed by GitHub
parent 2d3329ae0b
commit 52a7c5e526

View File

@@ -1,23 +1,20 @@
SUMMARY="Free general-purpose data compression software"
DESCRIPTION="XZ Utils are free general-purpose data compression tools with \
a high compression ratio. They are the successors to LZMA Utils.
"
a high compression ratio. They are the successors to LZMA Utils."
HOMEPAGE="http://tukaani.org/xz/"
COPYRIGHT="2005-2015 Lasse Collin"
LICENSE="GNU LGPL v2.1
GNU GPL v2
GNU GPL v3"
REVISION="2"
SOURCE_URI="http://tukaani.org/xz/xz-$portVersion.tar.bz2"
CHECKSUM_SHA256="6ff5f57a4b9167155e35e6da8b529de69270efb2b4cf3fbabf41a4ee793840b5"
SOURCE_DIR="xz-$portVersion"
LICENSE="
GNU LGPL v2.1
GNU GPL v2
GNU GPL v3
"
COPYRIGHT="2005-2014 Lasse Collin"
REVISION="1"
ADDITIONAL_FILES="xz_utils-expander-rules"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
ADDITIONAL_FILES="xz_utils-expander-rules"
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
@@ -56,15 +53,6 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
PROVIDES_devel="
xz_utils${secondaryArchSuffix}_devel = $portVersion compat >= 5
@@ -75,6 +63,16 @@ REQUIRES_devel="
xz_utils$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
touch po/t-cs.gmo
@@ -85,6 +83,10 @@ BUILD()
INSTALL()
{
make install
# remove libtool file
rm -f $libDir/liblzma.la
fixPkgconfig
expanderRulesDir=$dataDir/expander/rules