aboutsummaryrefslogtreecommitdiff
path: root/libzdb
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:27:57 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:31:49 +0000
commit121d6f029f4ebc205915bb5a0c74ecde7d874b32 (patch)
treed8a25a59746b269a47eb3d76ba3c48082ea6b92a /libzdb
parent5ed1ae372c629c87f79d7914d1520749ce82cd7c (diff)
downloadapkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.gz
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.bz2
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.zip
feat: Add some dependencies of seafile
Add initial setup for dependencies of seafile server
Diffstat (limited to 'libzdb')
-rw-r--r--libzdb/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/libzdb/APKBUILD b/libzdb/APKBUILD
new file mode 100644
index 0000000..42f1c76
--- /dev/null
+++ b/libzdb/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=libzdb
+pkgver=3.2.2
+pkgrel=0
+pkgdesc="A thread-safe high level multi-database connection pool library"
+url="http://www.tildeslash.com/libzdb/"
+arch="all"
+license="GPL"
+depends=
+depends_dev="flex-dev sqlite-dev mariadb-dev postgresql-dev"
+makedepends="$depends_dev flex"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --enable-optimized \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+sha512sums="
+1e732f8785322e0369de16a8100c9467e96ad1ca4eee31e8bfc349f4f17d4cc237a691addc060a66e1b46bcfeb99c3aed07b1d5dbe20e70fde4ffbf35dbea2eb libzdb-3.2.2.tar.gz
+"