void-packages/srcpkgs/pbzip2/template

32 lines
1 KiB
Text
Raw Normal View History

# Template build file for 'pbzip2'.
pkgname=pbzip2
2012-08-07 06:44:49 +00:00
version=1.1.8
revision=1
2012-08-07 06:44:49 +00:00
build_style=gnu-makefile
make_install_args="PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr"
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=d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53
long_desc="
The pbzip2 program is a parallel version of bzip2 for use on shared
memory machines. It provides near-linear speedup when used on true
multi-processor machines and 5-10% speedup on Hyperthreaded machines.
The output is fully compatible with the regular bzip2 data so any
files created with pbzip2 can be uncompressed by bzip2 and vice-versa."
2012-08-07 06:44:49 +00:00
post_install() {
vmkdir usr/share
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
pbzip2_package() {
pkg_install() {
vmove usr
}
}