aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdbi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-09-21 14:52:47 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-09-21 14:52:47 +0200
commite7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc (patch)
treec6b816e7ba8f9b659e1be415ebf1dac4262c3b82 /main/libdbi
parent452d447d89b3a3775b7f602d7352a8cfe8a0f9d4 (diff)
downloadaports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.bz2
aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.xz
testing/*: move to main
Diffstat (limited to 'main/libdbi')
-rw-r--r--main/libdbi/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/libdbi/APKBUILD b/main/libdbi/APKBUILD
new file mode 100644
index 0000000000..55c097ff21
--- /dev/null
+++ b/main/libdbi/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+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"