void-packages/srcpkgs/lrzip/template

37 lines
916 B
Plaintext

# Template file for 'lrzip'
pkgname=lrzip
version=0.616
revision=2
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum="6ef50bfec15d7585e5b085067c9fe91a87246ccd14a3165acd08b147bba26a2e"
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel"
maintainer="Steven R <dev@styez.com>"
homepage="http://lrzip.kolivas.org/"
license="GPL"
short_desc="Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms"
pre_configure() {
./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.*"
}
}