CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
lzo: added new port
authorVictor Martinez <pitillo@ono.com>
Mon, 16 Nov 2015 09:01:03 +0000 (09:01 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 16 Nov 2015 09:01:03 +0000 (09:01 +0000)
lzo/.footprint [new file with mode: 0644]
lzo/.md5sum [new file with mode: 0644]
lzo/Pkgfile [new file with mode: 0644]

diff --git a/lzo/.footprint b/lzo/.footprint
new file mode 100644 (file)
index 0000000..f4d2fcf
--- /dev/null
@@ -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 (file)
index 0000000..fe202b9
--- /dev/null
@@ -0,0 +1 @@
+c7ffc9a103afe2d1bba0b015e7aa887f  lzo-2.09.tar.gz
diff --git a/lzo/Pkgfile b/lzo/Pkgfile
new file mode 100644 (file)
index 0000000..91e4359
--- /dev/null
@@ -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
+}