void-packages/srcpkgs/pbzip2/template

23 lines
618 B
Plaintext
Raw Normal View History

# Template build file for 'pbzip2'.
pkgname=pbzip2
2012-08-07 08:44:49 +02:00
version=1.1.8
2014-02-21 17:27:38 +01:00
revision=2
2012-08-07 08:44:49 +02:00
build_style=gnu-makefile
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"
checksum=d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53
2014-02-21 17:27:38 +01:00
do_build() {
sed -e 's,man/man1,share/man/man1,g' -i Makefile
make CC=$CXX
}
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}
}