void-packages/srcpkgs/pbzip2/template
2014-11-24 08:33:05 +00:00

22 lines
682 B
Text

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.10
revision=1
makedepends="bzip2-devel"
short_desc="Parallel bzip2 file compressor"
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=9d489191edd010e4c8f7bc86de88268cdc3da5a9f7904b257fda56941615a0c2
do_build() {
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"
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vinstall COPYING 644 usr/share/licenses/${pkgname}
}