void-packages/srcpkgs/pbzip2/template

22 lines
615 B
Plaintext
Raw Normal View History

# Template build file for 'pbzip2'.
pkgname=pbzip2
2014-04-14 18:41:52 +02:00
version=1.1.9
revision=1
2014-02-21 17:27:38 +01:00
makedepends="bzip2-devel"
short_desc="Parallel bzip2 file compressor"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-08-07 08:44:49 +02:00
homepage="http://compression.ca/pbzip2/"
license="BSD"
distfiles="https://launchpad.net/pbzip2/1.1/${version}/+download/pbzip2-${version}.tar.gz"
2014-04-14 18:41:52 +02:00
checksum=bd421be03e6e24a24a121ba2355bfd11571356a25ee64fcfa76330750ec5f9c4
2014-02-21 17:27:38 +01:00
do_build() {
sed -e 's,man/man1,share/man/man1,g' -i Makefile
2014-04-14 18:41:52 +02:00
make CXX=$CXX CXXFLAGS="$CXXFLAGS"
2014-02-21 17:27:38 +01:00
}
2012-08-07 08:44:49 +02:00
2014-02-21 17:27:38 +01:00
do_install() {
make PREFIX=${DESTDIR}/usr install
2012-08-07 08:44:49 +02:00
vinstall COPYING 644 usr/share/licenses/${pkgname}
}