void-packages/srcpkgs/pbzip2/template
2015-12-18 07:28:27 +01:00

21 lines
669 B
Bash

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.13
revision=1
makedepends="bzip2-devel"
short_desc="Parallel bzip2 file compressor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://compression.ca/pbzip2/"
license="BSD"
distfiles="https://launchpad.net/pbzip2/${version%.*}/${version}/+download/pbzip2-${version}.tar.gz"
checksum=8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6
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 $LDFLAGS"
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vlicense COPYING
}