void-packages/srcpkgs/xz/template

36 lines
838 B
Text
Raw Normal View History

# Template file for 'xz'
pkgname=xz
2014-09-21 15:17:59 +00:00
version=5.0.7
2014-10-10 06:32:25 +00:00
revision=2
bootstrap=yes
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"
2014-08-29 07:57:49 +00:00
homepage="http://tukaani.org/xz"
2012-06-23 06:11:25 +00:00
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
2014-09-21 15:17:59 +00:00
checksum=e8851dc749df2340dac6c9297cb2653eff684e73c3dedf690930119502edd616
2014-10-10 06:32:25 +00:00
post_install() {
rm -r ${DESTDIR}/usr/share/doc
}
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
}
}