void-packages/srcpkgs/pbzip2/template

22 lines
657 B
Text
Raw Normal View History

# Template build file for 'pbzip2'.
pkgname=pbzip2
2014-12-22 08:52:19 +00:00
version=1.1.12
2014-04-14 16:41:52 +00:00
revision=1
2014-02-21 16:27:38 +00:00
makedepends="bzip2-devel"
short_desc="Parallel bzip2 file compressor"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-08-07 06:44:49 +00:00
homepage="http://compression.ca/pbzip2/"
license="BSD"
2014-12-13 08:15:15 +00:00
distfiles="https://launchpad.net/pbzip2/${version%.*}/${version}/+download/pbzip2-${version}.tar.gz"
2014-12-22 08:52:19 +00:00
checksum=573bb358a5a7d3bf5f42f881af324cedf960c786e8d66dd03d448ddd8a0166ee
2014-02-21 16:27:38 +00:00
do_build() {
sed -e 's,$(PREFIX)/man,$(PREFIX)/share/man,g' -i Makefile
sed -e 's,\(ln -s -f \)$(PREFIX)/bin/,\1,' -i Makefile
2014-04-14 16:41:52 +00:00
make CXX=$CXX CXXFLAGS="$CXXFLAGS"
2014-02-21 16:27:38 +00:00
}
do_install() {
make PREFIX=${DESTDIR}/usr install
2014-12-13 08:15:15 +00:00
vlicense COPYING
2012-08-07 06:44:49 +00:00
}