38 lines
840 B
Text
38 lines
840 B
Text
# Template file for 'xz'
|
|
pkgname=xz
|
|
version=5.1.2alpha
|
|
revision=1
|
|
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://tukani.org/xz"
|
|
distfiles="http://tukaani.org/xz/xz-${version}.tar.gz"
|
|
checksum=70e792d2a67cfbb8f2dffd0feab6ca6e5a4a618d65070fb44a367629d1ba94e5
|
|
|
|
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/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
xz_package() {
|
|
conflicts="chroot-xz>=0"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|