2009-10-17 01:19:56 +00:00
|
|
|
# Template file for 'xz'
|
|
|
|
pkgname=xz
|
2012-06-23 06:11:25 +00:00
|
|
|
version=5.0.4
|
2013-04-12 11:13:49 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-02-06 15:36:18 +00:00
|
|
|
short_desc="The XZ utilities"
|
2009-10-17 01:19:56 +00:00
|
|
|
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"
|
|
|
|
checksum=5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
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}"
|
|
|
|
short_desc="XZ-format compression library - development files"
|
|
|
|
replaces="xz-devel>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xz_package() {
|
|
|
|
conflicts="chroot-xz>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|