void-packages/srcpkgs/pbzip2/template

23 lines
682 B
Text
Raw Normal View History

# Template build file for 'pbzip2'.
pkgname=pbzip2
version=1.1.10
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"
distfiles="https://launchpad.net/pbzip2/1.1/${version}/+download/pbzip2-${version}.tar.gz"
checksum=9d489191edd010e4c8f7bc86de88268cdc3da5a9f7904b257fda56941615a0c2
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
}
2012-08-07 06:44:49 +00:00
2014-02-21 16:27:38 +00:00
do_install() {
make PREFIX=${DESTDIR}/usr install
2012-08-07 06:44:49 +00:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}