void-packages/srcpkgs/lrzip/template
2015-03-05 09:32:27 +01:00

34 lines
877 B
Text

# Template file for 'lrzip'
pkgname=lrzip
version=0.620
revision=1
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lrzip.kolivas.org/"
license="GPL-2"
short_desc="Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms"
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum=b9468570ef4be417579b95c2e5a7d4f0d341f730c9fe9cba884b544f70cd259e
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
lrzip-devel_package() {
short_desc+=" - development files"
depends="liblrzip-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
liblrzip_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}