From a9af19ee37034514b099dd60df88820ef90b596c Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 16 Nov 2015 09:01:03 +0000 Subject: [PATCH] lzo: added new port --- lzo/.footprint | 23 +++++++++++++++++++++++ lzo/.md5sum | 1 + lzo/Pkgfile | 26 ++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 lzo/.footprint create mode 100644 lzo/.md5sum create mode 100644 lzo/Pkgfile diff --git a/lzo/.footprint b/lzo/.footprint new file mode 100644 index 0000000..f4d2fcf --- /dev/null +++ b/lzo/.footprint @@ -0,0 +1,23 @@ +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/liblzo2.so.2 -> liblzo2.so.2.0.0 +-rwxr-xr-x root/root lib/liblzo2.so.2.0.0 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/lzo/ +-rw-r--r-- root/root usr/include/lzo/lzo1.h +-rw-r--r-- root/root usr/include/lzo/lzo1a.h +-rw-r--r-- root/root usr/include/lzo/lzo1b.h +-rw-r--r-- root/root usr/include/lzo/lzo1c.h +-rw-r--r-- root/root usr/include/lzo/lzo1f.h +-rw-r--r-- root/root usr/include/lzo/lzo1x.h +-rw-r--r-- root/root usr/include/lzo/lzo1y.h +-rw-r--r-- root/root usr/include/lzo/lzo1z.h +-rw-r--r-- root/root usr/include/lzo/lzo2a.h +-rw-r--r-- root/root usr/include/lzo/lzo_asm.h +-rw-r--r-- root/root usr/include/lzo/lzoconf.h +-rw-r--r-- root/root usr/include/lzo/lzodefs.h +-rw-r--r-- root/root usr/include/lzo/lzoutil.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/liblzo2.a +-rwxr-xr-x root/root usr/lib/liblzo2.la +lrwxrwxrwx root/root usr/lib/liblzo2.so -> ../../lib/liblzo2.so.2.0.0 diff --git a/lzo/.md5sum b/lzo/.md5sum new file mode 100644 index 0000000..fe202b9 --- /dev/null +++ b/lzo/.md5sum @@ -0,0 +1 @@ +c7ffc9a103afe2d1bba0b015e7aa887f lzo-2.09.tar.gz diff --git a/lzo/Pkgfile b/lzo/Pkgfile new file mode 100644 index 0000000..91e4359 --- /dev/null +++ b/lzo/Pkgfile @@ -0,0 +1,26 @@ +# Description: A portable lossless data compression library +# URL: http://www.oberhumer.com/opensource/lzo/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=lzo +version=2.09 +release=1 +source=(http://www.oberhumer.com/opensource/lzo/download/$name-$version.tar.gz) + +build() { + cd $name-$version + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --enable-shared + make + make DESTDIR=$PKG install + + install -d $PKG/lib + mv $PKG/usr/lib/liblzo2.so.* $PKG/lib + ln -sf ../../lib/$(readlink $PKG/lib/liblzo2.so.2) $PKG/usr/lib/liblzo2.so + + rm -r $PKG/usr/share +} -- 2.26.2