[arch-commits] Commit in (5 files)

Pierre Schmitz pierre at archlinux.org
Mon Jan 11 17:18:05 UTC 2010


    Date: Monday, January 11, 2010 @ 12:18:05
  Author: pierre
Revision: 62741

adding libiodbc

Added:
  libiodbc/
  libiodbc/kde-unstable/
  libiodbc/kde-unstable/PKGBUILD
  libiodbc/repos/
  libiodbc/trunk/

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: libiodbc/kde-unstable/PKGBUILD
===================================================================
--- libiodbc/kde-unstable/PKGBUILD	                        (rev 0)
+++ libiodbc/kde-unstable/PKGBUILD	2010-01-11 17:18:05 UTC (rev 62741)
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 4453 2009-10-23 09:11:19Z spupykin $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=libiodbc
+pkgver=3.52.7
+pkgrel=2
+pkgdesc='Independent Open DataBase Connectivity for Linux'
+arch=('i686' 'x86_64')
+url='http://www.iodbc.org'
+license=('LGPL')
+depends=('sh')
+replaces=('iodbc')
+conflicts=('iodbc')
+provides=("iodbc=${pkgver}")
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/iodbc/${pkgname}-${pkgver}.tar.gz")
+md5sums=('ddbd274cb31d65be6a78da58fc09079a')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	./configure --prefix=/usr \
+		--disable-static \
+		--includedir=/usr/include/libiodbc \
+		--disable-gui \
+		--disable-libodbc || return 1
+	make || return 1
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	make DESTDIR=${pkgdir} install || return 1
+	rm -rf ${pkgdir}/usr/share/libiodbc/
+}




More information about the arch-commits mailing list