Date: Wednesday, March 1, 2017 @ 23:51:49
  Author: anatolik
Revision: 289776

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  lzo/repos/testing-i686/
  lzo/repos/testing-i686/PKGBUILD
    (from rev 289775, lzo/trunk/PKGBUILD)
  lzo/repos/testing-x86_64/
  lzo/repos/testing-x86_64/PKGBUILD
    (from rev 289775, lzo/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: lzo/repos/testing-i686/PKGBUILD (from rev 289775, lzo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2017-03-01 23:51:49 UTC (rev 289776)
@@ -0,0 +1,41 @@
+# $Id$
+# Contributor: Low Kian Seong <[email protected]>
+# Maintainer: dorphell <[email protected]>
+
+pkgname=lzo
+pkgver=2.10
+pkgrel=1
+pkgdesc="Portable lossless data compression library"
+arch=('i686' 'x86_64')
+url="http://www.oberhumer.com/opensource/lzo";
+license=('GPL')
+depends=('glibc')
+source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz)
+sha1sums=('4924676a9bae5db58ef129dc1cebce3baa3c4b5d')
+
+build() {
+  cd lzo-${pkgver}
+  ./configure --prefix=/usr --enable-shared
+  make
+
+  # build minilzo
+  gcc $CFLAGS -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+  gcc $LDFLAGS -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 
minilzo/minilzo.o
+}
+
+check() {
+  cd lzo-${pkgver}
+  make test # Larger test
+  make check
+}
+
+package() {
+  cd lzo-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # install minilzo
+  install -m 755 libminilzo.so.0 ${pkgdir}/usr/lib
+  install -p -m 644 minilzo/minilzo.h ${pkgdir}/usr/include/lzo
+  cd ${pkgdir}/usr/lib
+  ln -s libminilzo.so.0 libminilzo.so
+}

Copied: lzo/repos/testing-x86_64/PKGBUILD (from rev 289775, lzo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2017-03-01 23:51:49 UTC (rev 289776)
@@ -0,0 +1,41 @@
+# $Id$
+# Contributor: Low Kian Seong <[email protected]>
+# Maintainer: dorphell <[email protected]>
+
+pkgname=lzo
+pkgver=2.10
+pkgrel=1
+pkgdesc="Portable lossless data compression library"
+arch=('i686' 'x86_64')
+url="http://www.oberhumer.com/opensource/lzo";
+license=('GPL')
+depends=('glibc')
+source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz)
+sha1sums=('4924676a9bae5db58ef129dc1cebce3baa3c4b5d')
+
+build() {
+  cd lzo-${pkgver}
+  ./configure --prefix=/usr --enable-shared
+  make
+
+  # build minilzo
+  gcc $CFLAGS -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
+  gcc $LDFLAGS -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 
minilzo/minilzo.o
+}
+
+check() {
+  cd lzo-${pkgver}
+  make test # Larger test
+  make check
+}
+
+package() {
+  cd lzo-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # install minilzo
+  install -m 755 libminilzo.so.0 ${pkgdir}/usr/lib
+  install -p -m 644 minilzo/minilzo.h ${pkgdir}/usr/include/lzo
+  cd ${pkgdir}/usr/lib
+  ln -s libminilzo.so.0 libminilzo.so
+}

Reply via email to