From 9585f81dcb4dbe879d3f76d37d085efb9e5b2e62 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 23 Dec 2016 20:19:24 +0100 Subject: [PATCH] New package: lzlib-1.8 --- common/shlibs | 1 + srcpkgs/lzlib-devel | 1 + srcpkgs/lzlib/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/lzlib-devel create mode 100644 srcpkgs/lzlib/template diff --git a/common/shlibs b/common/shlibs index f3444f75648..e93f162a617 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2760,3 +2760,4 @@ libpitcl.so.0 pilot-link-0.12.5_1 libiscsi.so.8 libiscsi-1.18.0_1 libgme.so.0 libgme-0.6.1_1 libczmq.so.4 czmq-4.0.1_1 +liblz.so.1 lzlib-1.8_1 diff --git a/srcpkgs/lzlib-devel b/srcpkgs/lzlib-devel new file mode 120000 index 00000000000..99703324c30 --- /dev/null +++ b/srcpkgs/lzlib-devel @@ -0,0 +1 @@ +lzlib \ No newline at end of file diff --git a/srcpkgs/lzlib/template b/srcpkgs/lzlib/template new file mode 100644 index 00000000000..c7584164f13 --- /dev/null +++ b/srcpkgs/lzlib/template @@ -0,0 +1,25 @@ +# Template file for 'lzlib' +pkgname=lzlib +version=1.8 +revision=1 +build_style=gnu-configure +configure_args="--enable-shared --disable-static" +short_desc="Compression library for the lzip file format" +maintainer="bra1nwave " +license="GPL-2" +homepage="http://www.nongnu.org/lzip/lzlib" +distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz" +checksum=41bfa82c6ee184ed0884437dc4074ad505e64cb747432cefa97976b89045cbad + +do_configure() { + ./configure --prefix=/usr $configure_args CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" +} + +lzlib-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + } +}