diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 20:25:13 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 20:25:13 -0500 |
commit | be94847a164f9ae0d58332b1de3ed8b037e2fc14 (patch) | |
tree | c6a4e896c96b85da64bb63cd9c193bc9a1ac15b0 /user/lzo/APKBUILD | |
parent | a0ae6e30017d130b4e3f36d8953c210fa7f273ad (diff) | |
download | packages-be94847a164f9ae0d58332b1de3ed8b037e2fc14.tar.gz packages-be94847a164f9ae0d58332b1de3ed8b037e2fc14.tar.bz2 packages-be94847a164f9ae0d58332b1de3ed8b037e2fc14.tar.xz packages-be94847a164f9ae0d58332b1de3ed8b037e2fc14.zip |
user/lzo: pull in, fix, set maintainer to djt
Diffstat (limited to 'user/lzo/APKBUILD')
-rw-r--r-- | user/lzo/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/lzo/APKBUILD b/user/lzo/APKBUILD new file mode 100644 index 000000000..1707525e0 --- /dev/null +++ b/user/lzo/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Dan Theisen <djt@hxx.in> +pkgname=lzo +pkgver=2.10 +pkgrel=3 +pkgdesc="Portable lossless real-time data compression library" +url="http://www.oberhumer.com/opensource/lzo" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz" + +build() { + cd "$builddir" + CFLAGS="$CFLAGS -DLZO_CFG_NO_SYSCALL=1" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-shared + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4 lzo-2.10.tar.gz" |