From 6765b03ca1657229fb9f6f8c058298c371c143ea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 17 Oct 2009 03:19:56 +0200 Subject: [PATCH] Added xz-4.999.9 build template. --HG-- extra : convert_revision : 8164cf74722d4b3291859828b01220a64d059f0c --- templates/xz-devel | 1 + templates/xz/depends | 2 ++ templates/xz/devel.template | 17 +++++++++++++++++ templates/xz/template | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 120000 templates/xz-devel create mode 100644 templates/xz/depends create mode 100644 templates/xz/devel.template create mode 100644 templates/xz/template diff --git a/templates/xz-devel b/templates/xz-devel new file mode 120000 index 0000000000..a162c28614 --- /dev/null +++ b/templates/xz-devel @@ -0,0 +1 @@ +xz \ No newline at end of file diff --git a/templates/xz/depends b/templates/xz/depends new file mode 100644 index 0000000000..f6259e40bf --- /dev/null +++ b/templates/xz/depends @@ -0,0 +1,2 @@ +abi_depends=4.999.9 +api_depends=${abi_depends} diff --git a/templates/xz/devel.template b/templates/xz/devel.template new file mode 100644 index 0000000000..75f34dc02e --- /dev/null +++ b/templates/xz/devel.template @@ -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 +} diff --git a/templates/xz/template b/templates/xz/template new file mode 100644 index 0000000000..7eb3a50926 --- /dev/null +++ b/templates/xz/template @@ -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 " +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++