# Template file for 'xz' pkgname=xz version=5.2.2 revision=1 bootstrap=yes build_style=gnu-configure short_desc="The XZ compression utilities" maintainer="Juan RP " 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=6ff5f57a4b9167155e35e6da8b529de69270efb2b4cf3fbabf41a4ee793840b5 CFLAGS="-fPIC" 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 } }