summaryrefslogtreecommitdiff
path: root/community/libdbi-drivers/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libdbi-drivers/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libdbi-drivers/PKGBUILD')
-rw-r--r--community/libdbi-drivers/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libdbi-drivers/PKGBUILD b/community/libdbi-drivers/PKGBUILD
new file mode 100644
index 000000000..18e3d97ac
--- /dev/null
+++ b/community/libdbi-drivers/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Olivier Médoc <o_medoc@yahoo.fr>
+# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil.Arch@gmail.com>
+
+pkgname=libdbi-drivers
+pkgver=0.8.3_1
+_pkgver=0.8.3-1
+pkgrel=2
+pkgdesc="Database drivers for libdbi (MySQL, PostgreSQL, and SQLite)"
+url="http://libdbi-drivers.sourceforge.net/"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libdbi')
+makedepends=('postgresql-libs' 'libmysqlclient' 'sqlite2' 'sqlite3')
+optdepends=("postgresql-libs: To work with postgresql using libdbdpgsql "
+ "sqlite3: To work with sqlite3 using libdbdsqlite3"
+ "libmysqlclient: To work with mysql using libdbdmysql"
+ "sqlite2: To work with sqlite2 using libdbdsqlite")
+options=(!libtool)
+install=libdbi-drivers.install
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgname}-${_pkgver}/${pkgname}-${_pkgver}.tar.gz")
+md5sums=('4de79b323162a5a7652b65b608eca6cd')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ ./configure --prefix=/usr \
+ --disable-docs \
+ --with-libdbi \
+ --with-mysql \
+ --with-pgsql \
+ --with-sqlite \
+ --with-sqlite3
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ make DESTDIR=${pkgdir} install
+}
+