summaryrefslogtreecommitdiff
path: root/user/lzop
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-18 05:55:28 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-18 05:55:28 +0000
commit52930ba0a1ba2b9a290252723a018a157c446bdb (patch)
tree0e4613c8f3d460b7b3ae0b641caee55847f91170 /user/lzop
parentb4ac56d7a3252691242f8b39eaf145ae711111b9 (diff)
downloadpackages-52930ba0a1ba2b9a290252723a018a157c446bdb.tar.gz
packages-52930ba0a1ba2b9a290252723a018a157c446bdb.tar.bz2
packages-52930ba0a1ba2b9a290252723a018a157c446bdb.tar.xz
packages-52930ba0a1ba2b9a290252723a018a157c446bdb.zip
user/lzop: new package
Diffstat (limited to 'user/lzop')
-rw-r--r--user/lzop/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/lzop/APKBUILD b/user/lzop/APKBUILD
new file mode 100644
index 000000000..030364595
--- /dev/null
+++ b/user/lzop/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=lzop
+pkgver=1.04
+pkgrel=0
+pkgdesc="A very fast file compressor and decompressor"
+url="http://www.lzop.org/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="lzo-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.lzop.org/download/lzop-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="5829b4495ffefab549aa697a05c536ce593c572c9eee6004460583a0090abcd317c6074c4f981dfee6be61ac8d127f02dd37053b6cb782af64db41586a8bbb6e lzop-1.04.tar.gz"