2009-10-17 03:19:56 +02:00
|
|
|
# Template file for 'xz'
|
|
|
|
pkgname=xz
|
2013-07-01 09:03:42 +02:00
|
|
|
version=5.0.5
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-02-06 16:36:18 +01:00
|
|
|
short_desc="The XZ utilities"
|
2009-10-17 03:19:56 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-23 08:11:25 +02: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 09:03:42 +02:00
|
|
|
checksum=166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
liblzma_package() {
|
|
|
|
short_desc="XZ-format compression library"
|
|
|
|
replaces="xz<5.0.0"
|
|
|
|
pkg_install() {
|
2013-07-01 09:03:42 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2013-07-01 09:03:42 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xz_package() {
|
|
|
|
conflicts="chroot-xz>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|