void-packages/srcpkgs/lrzip/template

35 lines
899 B
Bash

# Template file for 'lrzip'
pkgname=lrzip
version=0.631
revision=2
patch_args="-Np1"
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel"
short_desc="Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="http://lrzip.kolivas.org/"
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum=10315c20d5a47590e7220c210735ba169677824d5672509266682eccec84d952
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.*"
}
}