aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lzop/APKBUILD
diff options
context:
space:
mode:
authorSasha Gerrand <alpine-pkgs@sgerrand.com>2019-06-17 21:05:05 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-06-18 08:35:14 -0300
commit273055be787fc4d48de39054b91b1d25b99ca171 (patch)
tree89897b74d0a90c03de8099f395f10d93f7969d51 /testing/lzop/APKBUILD
parent1ca95615f7d1d8972109241100d9c364323264b4 (diff)
downloadaports-273055be787fc4d48de39054b91b1d25b99ca171.tar.gz
aports-273055be787fc4d48de39054b91b1d25b99ca171.tar.bz2
aports-273055be787fc4d48de39054b91b1d25b99ca171.tar.xz
testing/lzop: new aport
https://www.lzop.org/ lzop is a very fast file compressor
Diffstat (limited to 'testing/lzop/APKBUILD')
-rw-r--r--testing/lzop/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/lzop/APKBUILD b/testing/lzop/APKBUILD
new file mode 100644
index 0000000000..a68606e1cc
--- /dev/null
+++ b/testing/lzop/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Sasha Gerrand <alpine-pkgs@sgerrand.com>
+# Maintainer: Sasha Gerrand <alpine-pkgs@sgerrand.com>
+pkgname=lzop
+pkgver=1.04
+pkgrel=0
+pkgdesc="lzop is a very fast file compressor"
+url="https://www.lzop.org/"
+arch="all"
+license="GPL-2.0-only"
+makedepends="lzo-dev"
+subpackages="$pkgname-doc"
+source="https://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"