void-packages/srcpkgs/xz/template

34 lines
810 B
Text
Raw Normal View History

# Template file for 'xz'
pkgname=xz
2013-07-01 07:03:42 +00:00
version=5.0.5
2014-05-22 15:14:31 +00:00
revision=4
bootstrap=yes
replaces="chroot-xz>=0"
build_style=gnu-configure
short_desc="The XZ utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-06-23 06:11:25 +00:00
license="Public domain, GPL-2, GPL-3, LGPL-2.1"
homepage="http://tukani.org/xz"
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
2013-07-01 07:03:42 +00:00
checksum=166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490
liblzma_package() {
short_desc="XZ-format compression library"
replaces="xz<5.0.0"
pkg_install() {
2013-07-01 07:03:42 +00:00
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"
2013-07-01 07:03:42 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}