Added xz-4.999.9 build template.

--HG--
extra : convert_revision : 8164cf74722d4b3291859828b01220a64d059f0c
This commit is contained in:
Juan RP 2009-10-17 03:19:56 +02:00
parent 92f1998ad4
commit 6765b03ca1
4 changed files with 57 additions and 0 deletions

1
templates/xz-devel Symbolic link
View file

@ -0,0 +1 @@
xz

2
templates/xz/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=4.999.9
api_depends=${abi_depends}

View file

@ -0,0 +1,17 @@
# Template file for 'xz-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
supersedes="lzma-utils-devel"
Add_dependency run xz
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/liblzma.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

37
templates/xz/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'xz'
pkgname=xz
version=4.999.9
wrksrc=${pkgname}-${version}beta
distfiles="http://tukaani.org/xz/xz-${version}beta.tar.bz2"
build_style=gnu_configure
short_desc="XZ utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c
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:
* liblzma is an encoder/decoder library with support for several
filters (algorithm implementations). The primary filter is
LZMA.
* libzfile (or whatever the name will be) enables reading from
and writing to gzip, bzip2 and LZMA compressed and uncompressed
files with an API similar to the standard ANSI-C file I/O.
[ NOTE: libzfile is not implemented yet. ]
* 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."
supersedes="lzma-utils lzma-utils-libs"
subpackages="devel"
Add_dependency run glibc
Add_dependency run gcc-libstdc++