summaryrefslogtreecommitdiff
path: root/community/libdbi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdbi/PKGBUILD')
-rw-r--r--community/libdbi/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libdbi/PKGBUILD b/community/libdbi/PKGBUILD
new file mode 100644
index 000000000..e0c031534
--- /dev/null
+++ b/community/libdbi/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 87114 2013-03-27 13:46:18Z ttoepper $
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Carl Flippin <carlf@photocarl.org>
+
+pkgname=libdbi
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="A database independant abstraction layer for C"
+url="http://libdbi.sourceforge.net"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('glibc')
+options=(!libtool)
+install=libdbi.install
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('6c1ecfb78f43a921d5f914299304bd6c82cb0e23')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make CFLAGS="-fno-fast-math"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+}
+
+# vim:set ts=2 sw=2 et: