void-packages/srcpkgs/pbzip2/template

22 lines
615 B
Plaintext

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.9
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=bd421be03e6e24a24a121ba2355bfd11571356a25ee64fcfa76330750ec5f9c4
do_build() {
sed -e 's,man/man1,share/man/man1,g' -i Makefile
make CXX=$CXX CXXFLAGS="$CXXFLAGS"
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vinstall COPYING 644 usr/share/licenses/${pkgname}
}