aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwener <wenermail@gmail.com>2020-02-13 13:46:51 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-16 11:05:13 +0100
commit1c261e60e75aecd399f5e3bf917bcef3f3374e2d (patch)
tree77dba23e8ae1159c769277c22f6e829970d2fce8
parent33fb4a5d6c9041d10e532b25639970f7c4af9ae8 (diff)
downloadaports-1c261e60e75aecd399f5e3bf917bcef3f3374e2d.tar.bz2
aports-1c261e60e75aecd399f5e3bf917bcef3f3374e2d.tar.xz
testing/sqlar: new aport
-rw-r--r--testing/sqlar/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/sqlar/APKBUILD b/testing/sqlar/APKBUILD
new file mode 100644
index 0000000000..c945ea3f83
--- /dev/null
+++ b/testing/sqlar/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: wener <wenermail@gmail.com>
+# Maintainer: wener <wenermail@gmail.com>
+pkgname="sqlar"
+pkgver=0_git20180107
+pkgrel=0
+pkgdesc="SQLite Archiver"
+url="https://sqlite.org/sqlar"
+arch="all"
+license="BSD-2-Clause"
+makedepends="zlib-dev sqlite-dev fuse-dev"
+options="!check" # does not have a test suite
+source="sqlar-v$pkgver.tar.gz::https://www.sqlite.org/sqlar/tarball/sqlar.tar.gz?c=4824e7389653a46f"
+builddir="$srcdir/$pkgname"
+
+build() {
+ gcc sqlarfs.c -D_FILE_OFFSET_BITS=64 -lsqlite3 -lfuse -lz -o sqlarfs
+ gcc sqlar.c -D_FILE_OFFSET_BITS=64 -lsqlite3 -lz -o sqlar
+}
+
+package() {
+ install -Dm755 sqlar "$pkgdir"/usr/bin/sqlar
+ install -Dm755 sqlarfs "$pkgdir"/usr/bin/sqlarfs
+}
+
+sha512sums="b8c9c047b40b8b8065338f32801d0f2c46e14420735c3667ecbe3c75c0c9e5d87f6007c1022fea0c74ad93b653cc6845fabd66dcf637e8a85470a007fd50dd83 sqlar-v0_git20180107.tar.gz"