summaryrefslogtreecommitdiff
path: root/extra/lzo
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-14 00:07:43 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-14 00:07:43 -0300
commit6d90f2496f41209ab84d8b61d20b4d79d632ec7d (patch)
tree91a141bc21b17ccd6187b5c6a8b9f53367d9c93e /extra/lzo
parent26841be26f283b971f431eb735f748cef7a5250d (diff)
parent2c4629f613c001fd29740d0f4c0e497c771a2182 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/frogatto/PKGBUILD community/python-psycopg2/PKGBUILD core/libtirpc/PKGBUILD extra/cd-discid/PKGBUILD extra/cups/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/evolution-data-server/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gnugo/PKGBUILD extra/gperf/PKGBUILD extra/gtk2/PKGBUILD extra/kdegames/PKGBUILD extra/kismet/PKGBUILD extra/lzo/PKGBUILD extra/mutt/PKGBUILD extra/obconf/PKGBUILD extra/opensp/PKGBUILD extra/qt3/PKGBUILD extra/re2c/PKGBUILD extra/samba/PKGBUILD extra/sharutils/PKGBUILD extra/wireshark/PKGBUILD
Diffstat (limited to 'extra/lzo')
-rw-r--r--extra/lzo/PKGBUILD40
1 files changed, 25 insertions, 15 deletions
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD
index eef9fa8f2..f93973dba 100644
--- a/extra/lzo/PKGBUILD
+++ b/extra/lzo/PKGBUILD
@@ -1,25 +1,35 @@
-# $Id: PKGBUILD 37199 2009-05-01 03:25:47Z eric $
+# $Id: PKGBUILD 123754 2011-05-12 20:58:30Z andrea $
+# Maintainer:
# Contributor: Low Kian Seong <fastmail_low@speedymail.org>
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
pkgname=lzo
pkgver=1.08
-pkgrel=5
-pkgdesc="LZO is a portable lossless data compression library written in ANSI C"
-arch=(i686 x86_64 'mips64el')
+pkgrel=6
+pkgdesc='A portable lossless data compression library written in ANSI C'
+arch=('i686' 'x86_64')
license=('GPL')
-url="http://www.oberhumer.com/opensource/lzo"
+url='http://www.oberhumer.com/opensource/lzo'
depends=('glibc')
makedepends=('nasm')
options=('!libtool')
-source=(http://www.oberhumer.com/opensource/${pkgname}/download/${pkgname}-${pkgver}.tar.gz
- nasm-gcc3.patch)
-md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6' '43fb13762383b572d22152f8815ea4a5')
+source=("http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz"
+ 'nasm-gcc3.patch')
+md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6'
+ '43fb13762383b572d22152f8815ea4a5')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np0 -i ${srcdir}/nasm-gcc3.patch || return 1
- autoconf || return 1
- ./configure --prefix=/usr --enable-shared || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ patch -p0 -i "${srcdir}"/nasm-gcc3.patch
+ autoconf
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
}