From 121d6f029f4ebc205915bb5a0c74ecde7d874b32 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 25 Sep 2022 02:27:57 +0000 Subject: feat: Add some dependencies of seafile Add initial setup for dependencies of seafile server --- libzdb/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 libzdb/APKBUILD (limited to 'libzdb/APKBUILD') 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 +# Contributor: Carlo Landmeter +# 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 +" -- cgit v1.2.3