summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-04 22:16:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-04 22:16:15 +0000
commit99fdf2492680b0f36d96835f590a01a36b81b14d (patch)
tree96cbbb81546e42dfcd0428a5fca54d1f843f4497 /system
parent63b5fb12c3d75e460799c672bbbdd5d29c3cc33c (diff)
downloadpackages-99fdf2492680b0f36d96835f590a01a36b81b14d.tar.gz
packages-99fdf2492680b0f36d96835f590a01a36b81b14d.tar.bz2
packages-99fdf2492680b0f36d96835f590a01a36b81b14d.tar.xz
packages-99fdf2492680b0f36d96835f590a01a36b81b14d.zip
user/{lzo,lzop}: move to system/
Diffstat (limited to 'system')
-rw-r--r--system/lzo/APKBUILD41
-rw-r--r--system/lzop/APKBUILD38
2 files changed, 79 insertions, 0 deletions
diff --git a/system/lzo/APKBUILD b/system/lzo/APKBUILD
new file mode 100644
index 000000000..1707525e0
--- /dev/null
+++ b/system/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"
diff --git a/system/lzop/APKBUILD b/system/lzop/APKBUILD
new file mode 100644
index 000000000..030364595
--- /dev/null
+++ b/system/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"