void-packages/srcpkgs/lrzip/template

35 lines
880 B
Bash

# Template file for 'lrzip'
pkgname=lrzip
version=0.630
revision=1
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=7b9bf6415fb2294a8e83a5a1c6a8d7da17a19f4730567c8fa16e3016d79250a6
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.*"
}
}