# Template file for 'xz' pkgname=xz version=5.2.3 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=fd9ca16de1052aac899ad3495ad20dfa906c27b4a5070102a2ec35ca3a4740c1 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 } }