void-packages/srcpkgs/chroot-xz/template

43 lines
1.5 KiB
Text

# Template file for 'chroot-xz'
pkgname=chroot-xz
version=5.0.4
wrksrc="xz-${version}"
revision=1
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
build_style=gnu-configure
configure_args="--disable-nls --disable-shared"
short_desc="XZ utilities -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92
homepage="http://tukaani.org/xz/"
license="custom blend of Public Domain, GPL-2 and GPL-2"
long_desc="
LZMA is a general purporse compression algorithm designed by Igor
Pavlov as part of 7-Zip. It provides high compression ratio while
keeping the decompression speed fast.
XZ Utils are an attempt to make LZMA compression easy to use on
free (as in freedom) operating systems. This is achieved by providing
tools and libraries which are similar to use than the equivalents
of the most popular existing compression algorithms.
XZ Utils consist of a few relatively separate parts:
* xz command line tool has almost identical syntax than gzip
and bzip2. It makes LZMA easy for average users, but also
provides advanced options to finetune the compression settings.
* A few shell scripts make diffing and grepping LZMA compressed
files easy. The scripts were adapted from gzip and bzip2."
bootstrap=yes
post_install() {
rm -rf ${DESTDIR}/usr/lib ${DESTDIR}/usr/share ${DESTDIR}/usr/include
}
chroot-xz_package() {
conflicts="xz>=0"
provides="xz-${version}"
pkg_install() {
vmove usr
}
}