void-packages/srcpkgs/pbzip2/template

23 lines
618 B
Plaintext

# 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}
}