void-packages/srcpkgs/lrzip/template
2021-03-07 23:53:25 -03:00

34 lines
890 B
Bash

# Template file for 'lrzip'
pkgname=lrzip
version=0.641
revision=1
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel liblz4-devel"
short_desc="Multi-threaded compression using rzip/lzma, lzo, and zpaq"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lrzip.kolivas.org/"
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum=9b6b4bb1ae76dafbaab96ec9d50d41af5fed45a6c4f2e06feea828c2cd8025c0
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.*"
}
}