pbzip2: update to 1.1.10; fix pbunzip2 and pbzcat.

This commit is contained in:
Eivind Uggedal 2014-11-24 08:32:58 +00:00
parent 8665377669
commit 1632669e2f

View File

@ -1,6 +1,6 @@
# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.9
version=1.1.10
revision=1
makedepends="bzip2-devel"
short_desc="Parallel bzip2 file compressor"
@ -8,10 +8,11 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://compression.ca/pbzip2/"
license="BSD"
distfiles="https://launchpad.net/pbzip2/1.1/${version}/+download/pbzip2-${version}.tar.gz"
checksum=bd421be03e6e24a24a121ba2355bfd11571356a25ee64fcfa76330750ec5f9c4
checksum=9d489191edd010e4c8f7bc86de88268cdc3da5a9f7904b257fda56941615a0c2
do_build() {
sed -e 's,man/man1,share/man/man1,g' -i Makefile
sed -e 's,$(PREFIX)/man,$(PREFIX)/share/man,g' -i Makefile
sed -e 's,\(ln -s -f \)$(PREFIX)/bin/,\1,' -i Makefile
make CXX=$CXX CXXFLAGS="$CXXFLAGS"
}