34 lines
805 B
Plaintext
34 lines
805 B
Plaintext
# Template file for 'xz'
|
|
pkgname=xz
|
|
version=5.2.0
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
short_desc="The XZ compression utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public domain, GPL-2, GPL-3, LGPL-2.1"
|
|
homepage="http://tukaani.org/xz"
|
|
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
|
|
checksum=f7357d7455a1670229b3cca021da71dd5d13b789db62743c20624bdffc9cc4a5
|
|
|
|
post_install() {
|
|
rm -r ${DESTDIR}/usr/share/doc
|
|
}
|
|
|
|
liblzma_package() {
|
|
short_desc="XZ-format compression library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
liblzma-devel_package() {
|
|
depends="liblzma>=${version}_${revision}"
|
|
short_desc="XZ-format compression library - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|