void-packages/srcpkgs/xz/template
2014-09-17 07:45:52 +02:00

32 lines
810 B
Text

# Template file for 'xz'
pkgname=xz
version=5.0.6
revision=1
bootstrap=yes
replaces="chroot-xz>=0"
build_style=gnu-configure
short_desc="The XZ utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain, GPL-2, GPL-3, LGPL-2.1"
homepage="http://tukaani.org/xz"
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
checksum=2f444375cd1d66c04247127e9b5101ce8fb2a8726449f211f05c84c143289408
liblzma_package() {
short_desc="XZ-format compression library"
replaces="xz<5.0.0"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
liblzma-devel_package() {
depends="liblzma>=${version}_${revision}"
short_desc="XZ-format compression library - development files"
replaces="xz-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}