void-packages/srcpkgs/pbzip2/template
2014-02-21 17:27:38 +01:00

22 lines
618 B
Text

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.8
revision=2
build_style=gnu-makefile
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=d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53
do_build() {
sed -e 's,man/man1,share/man/man1,g' -i Makefile
make CC=$CXX
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vinstall COPYING 644 usr/share/licenses/${pkgname}
}