xz-utils: bump version

This commit is contained in:
Jerome Duval
2014-11-27 16:46:53 +00:00
parent df3d3611cc
commit 6479460dee
2 changed files with 1 additions and 123 deletions

View File

@@ -1,122 +0,0 @@
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.
The core of the XZ Utils compression code is based on LZMA SDK, but it has \
been modified quite a lot to be suitable for XZ Utils. The primary compression \
algorithm is currently LZMA2, which is used inside the \".xz\" container format. \
With typical files, XZ Utils create 30% smaller output than GZip and 15% \
smaller output than BZip2.
XZ Utils consists of several components:
* liblzma, a compression library with API similar to that of zlib.
* xz, a command line tool with syntax similar to that of GZip.
* xzdec, a decompression-only tool smaller than the full-featured xz tool.
* A set of shell scripts (xzgrep, xzdiff, etc.) adapted from GZip to \
ease the viewing, grepping, and comparing of compressed files."
HOMEPAGE="http://tukaani.org/xz/"
SRC_URI="http://tukaani.org/xz/xz-5.0.5.tar.bz2"
CHECKSUM_SHA256="166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490"
SOURCE_DIR="xz-$portVersion"
LICENSE="GNU LGPL v2.1
GNU GPL v2
GNU GPL v3"
COPYRIGHT="2005-2013 Lasse Collin"
REVISION="3"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES ?x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
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
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
xz_utils$secondaryArchSuffix = $portVersion compat >= 5
cmd:lzcat$commandSuffix = $portVersion compat >= 5
cmd:lzcmp$commandSuffix = $portVersion compat >= 5
cmd:lzdiff$commandSuffix = $portVersion compat >= 5
cmd:lzegrep$commandSuffix = $portVersion compat >= 5
cmd:lzfgrep$commandSuffix = $portVersion compat >= 5
cmd:lzgrep$commandSuffix = $portVersion compat >= 5
cmd:lzless$commandSuffix = $portVersion compat >= 5
cmd:lzma$commandSuffix = $portVersion compat >= 5
cmd:lzmadec$commandSuffix = $portVersion compat >= 5
cmd:lzmainfo$commandSuffix = $portVersion compat >= 5
cmd:lzmore$commandSuffix = $portVersion compat >= 5
cmd:unlzma$commandSuffix = $portVersion compat >= 5
cmd:unxz$commandSuffix = $portVersion compat >= 5
cmd:xz$commandSuffix = $portVersion compat >= 5
cmd:xzcat$commandSuffix = $portVersion compat >= 5
cmd:xzcmp$commandSuffix = $portVersion compat >= 5
cmd:xzdec$commandSuffix = $portVersion compat >= 5
cmd:xzdiff$commandSuffix = $portVersion compat >= 5
cmd:xzegrep$commandSuffix = $portVersion compat >= 5
cmd:xzfgrep$commandSuffix = $portVersion compat >= 5
cmd:xzgrep$commandSuffix = $portVersion compat >= 5
cmd:xzless$commandSuffix = $portVersion compat >= 5
cmd:xzmore$commandSuffix = $portVersion compat >= 5
lib:liblzma$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
PROVIDES_devel="
xz_utils${secondaryArchSuffix}_devel = $portVersion compat >= 5
devel:liblzma$secondaryArchSuffix = $portVersion compat >= 5
"
REQUIRES_devel="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
xz_utils$secondaryArchSuffix == $portVersion base
"
BUILD()
{
touch po/t-cs.gmo
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
expanderRulesDir=$dataDir/expander/rules
mkdir -p $expanderRulesDir
cp "$portDir/additional-files/xz_utils-expander-rules" \
"$expanderRulesDir/xz_utils"
prepareInstalledDevelLibs liblzma
packageEntries devel \
$developDir
}
TEST()
{
make check
}

View File

@@ -4,7 +4,7 @@ a high compression ratio. They are the successors to LZMA Utils.
"
HOMEPAGE="http://tukaani.org/xz/"
SRC_URI="http://tukaani.org/xz/xz-$portVersion.tar.bz2"
CHECKSUM_SHA256="2f444375cd1d66c04247127e9b5101ce8fb2a8726449f211f05c84c143289408"
CHECKSUM_SHA256="e8851dc749df2340dac6c9297cb2653eff684e73c3dedf690930119502edd616"
SOURCE_DIR="xz-$portVersion"
LICENSE="GNU LGPL v2.1
GNU GPL v2