void-packages/srcpkgs/pbzip2/template
2014-12-13 09:15:34 +01:00

21 lines
657 B
Text

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.11
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/${version%.*}/${version}/+download/pbzip2-${version}.tar.gz"
checksum=b4861389bd99c73d304a03b0dc0731a8a26905da8e94ca4cef873b96e1ab0e7f
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
vlicense COPYING
}