2008-10-23 00:41:51 +00:00
|
|
|
# Template build file for 'bzip2'.
|
|
|
|
pkgname=bzip2
|
|
|
|
version=1.0.5
|
2008-10-28 22:57:52 +00:00
|
|
|
distfiles="http://www.bzip.org/1.0.5/$pkgname-$version.tar.gz"
|
2008-10-23 00:41:51 +00:00
|
|
|
build_style=gnu_makefile
|
|
|
|
make_build_target="-f Makefile-libbz2_so"
|
|
|
|
make_install_args="PREFIX=$XBPS_DESTDIR/$pkgname-$version/usr"
|
|
|
|
short_desc="The bzip2 compression library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=f7bf5368309d76e5daf3a89d4d1bea688dac7780742e7a0ae1af19be9316fe22
|
2008-12-16 23:30:19 +00:00
|
|
|
long_desc="
|
|
|
|
bzip2 is a freely available, patent free, high-quality data compressor.
|
2008-12-18 06:15:36 +00:00
|
|
|
It typically compresses files to within 10%% to 15%% of the best available
|
2008-12-16 23:30:19 +00:00
|
|
|
techniques, whilst being around twice as fast at compression and six times
|
|
|
|
faster at decompression.
|
|
|
|
|
|
|
|
bzip2 compresses files using the Burrows-Wheeler block-sorting text
|
|
|
|
compression algorithm, and Huffman coding. Compression is generally
|
|
|
|
considerably better than that achieved by more conventional LZ77/LZ78-based
|
|
|
|
compressors, and approaches the performance of the PPM family of statistical
|
|
|
|
compressors.
|
|
|
|
|
|
|
|
The archive file format of bzip2 (.bz2) is incompatible with that of its
|
|
|
|
predecessor, bzip (.bz)."
|
2008-10-27 06:42:40 +00:00
|
|
|
|
|
|
|
base_chroot=yes
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="bzip2-devel"
|
2009-02-24 06:13:11 +00:00
|
|
|
Add_dependency run glibc
|
2010-05-20 20:40:04 +00:00
|
|
|
|
|
|
|
pre_build()
|
|
|
|
{
|
|
|
|
# Do not overwrite CC!
|
|
|
|
for f in Makefile Makefile-libbz2_so; do
|
|
|
|
sed -i -e "s|\(CC\)\(=gcc\)|\1?\2|g" \
|
|
|
|
${wrksrc}/${f} || return 1
|
|
|
|
done
|
|
|
|
}
|