aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libdbi
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@me.com>2014-11-05 13:28:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-10 12:13:45 +0000
commit1946bf98650141206b3a5ab57ffd62f0f8749b05 (patch)
tree6ebfaeac7405dd3461a0c2acedfc7cd11bac731f /testing/libdbi
parent3fa6bd1b82cbc5ab79a96f9e3ff945968d601dc2 (diff)
downloadaports-1946bf98650141206b3a5ab57ffd62f0f8749b05.tar.bz2
aports-1946bf98650141206b3a5ab57ffd62f0f8749b05.tar.xz
testing/libdbi: new aport
http://libdbi.sourceforge.net Database independent abstraction layer for C
Diffstat (limited to 'testing/libdbi')
-rw-r--r--testing/libdbi/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/libdbi/APKBUILD b/testing/libdbi/APKBUILD
new file mode 100644
index 0000000000..c51940b3bd
--- /dev/null
+++ b/testing/libdbi/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer:
+pkgname=libdbi
+pkgver=0.9.0
+pkgrel=0
+pkgdesc="Database independent abstraction layer for C"
+url="http://libdbi.sourceforge.net/"
+arch="all"
+license="LGPL2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
+options=libtool
+
+_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
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="05e2ceeac4bc85fbe40de8b4b22d9ab3 libdbi-0.9.0.tar.gz"
+sha256sums="dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503 libdbi-0.9.0.tar.gz"
+sha512sums="ee8777195af43057409d051a6055ec0467cd926d48da076458b09f91d2f0995a1cc4bc071762e401b7bdcd8a4173fd8ea3472db3a1518e34b4c5b5ed24e4e2ce libdbi-0.9.0.tar.gz"