From bde57d6230d78b4686c42f24a809086ed2989852 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 01:47:57 +0200 Subject: [PATCH] Added lzo-2.03 template. --HG-- extra : convert_revision : afa69272674116338ba825ee8b430d1fb204842e --- templates/lzo-devel | 1 + templates/lzo/depends | 2 ++ templates/lzo/devel.template | 17 +++++++++++++++++ templates/lzo/template | 24 ++++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 120000 templates/lzo-devel create mode 100644 templates/lzo/depends create mode 100644 templates/lzo/devel.template create mode 100644 templates/lzo/template diff --git a/templates/lzo-devel b/templates/lzo-devel new file mode 120000 index 0000000000..a9ee5cf226 --- /dev/null +++ b/templates/lzo-devel @@ -0,0 +1 @@ +lzo \ No newline at end of file diff --git a/templates/lzo/depends b/templates/lzo/depends new file mode 100644 index 0000000000..6d128b23d6 --- /dev/null +++ b/templates/lzo/depends @@ -0,0 +1,2 @@ +abi_depends=2.03 +api_depends=${abi_depends} diff --git a/templates/lzo/devel.template b/templates/lzo/devel.template new file mode 100644 index 0000000000..4972625e07 --- /dev/null +++ b/templates/lzo/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libgrypt-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run lzo + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib +} diff --git a/templates/lzo/template b/templates/lzo/template new file mode 100644 index 0000000000..29334d45d9 --- /dev/null +++ b/templates/lzo/template @@ -0,0 +1,24 @@ +# Template build file for 'lzo'. +pkgname=lzo +sourcepkg=$pkgname +version=2.03 +distfiles="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz" +build_style=gnu_configure +configure_args="--enable-shared=yes" +short_desc="Portable lossless data compression library" +maintainer="Juan RP " +checksum=8b1b0da8f757b9ac318e1c15a0eac8bdb56ca902a2dd25beda06c0f265f22591 +long_desc=" + LZO is a portable lossless data compression library written in ANSI + C. It offers pretty fast compression and very fast decompression. + Decompression requires no memory. + + In addition there are slower compression levels achieving a quite + competitive compression ratio while still decompressing at this + very high speed. + + The LZO algorithms and implementations are copyrighted OpenSource + distributed under the GNU General Public License." + +subpackages="devel" +Add_dependency full glibc