2009-09-18 09:18:01 +00:00
|
|
|
# Template build file for 'pbzip2'.
|
|
|
|
pkgname=pbzip2
|
2014-11-24 08:32:58 +00:00
|
|
|
version=1.1.10
|
2014-04-14 16:41:52 +00:00
|
|
|
revision=1
|
2014-02-21 16:27:38 +00:00
|
|
|
makedepends="bzip2-devel"
|
2009-09-18 09:18:01 +00:00
|
|
|
short_desc="Parallel bzip2 file compressor"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-08-07 06:44:49 +00:00
|
|
|
homepage="http://compression.ca/pbzip2/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="https://launchpad.net/pbzip2/1.1/${version}/+download/pbzip2-${version}.tar.gz"
|
2014-11-24 08:32:58 +00:00
|
|
|
checksum=9d489191edd010e4c8f7bc86de88268cdc3da5a9f7904b257fda56941615a0c2
|
2009-09-18 09:18:01 +00:00
|
|
|
|
2014-02-21 16:27:38 +00:00
|
|
|
do_build() {
|
2014-11-24 08:32:58 +00:00
|
|
|
sed -e 's,$(PREFIX)/man,$(PREFIX)/share/man,g' -i Makefile
|
|
|
|
sed -e 's,\(ln -s -f \)$(PREFIX)/bin/,\1,' -i Makefile
|
2014-04-14 16:41:52 +00:00
|
|
|
make CXX=$CXX CXXFLAGS="$CXXFLAGS"
|
2014-02-21 16:27:38 +00:00
|
|
|
}
|
2012-08-07 06:44:49 +00:00
|
|
|
|
2014-02-21 16:27:38 +00:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
2012-08-07 06:44:49 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|