summaryrefslogtreecommitdiff
path: root/extra/libiodbc/PKGBUILD
blob: 106baf02798834a313228067f6334ccc7fd73f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 4453 2009-10-23 09:11:19Z spupykin $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=libiodbc
pkgver=3.52.8
pkgrel=1
pkgdesc='Independent Open DataBase Connectivity for Linux'
arch=('i686' 'x86_64' 'mips64el')
url="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
license=('LGPL')
depends=('glibc' 'sh')
makedepends=('chrpath')
replaces=('iodbc')
conflicts=('iodbc')
options=('!libtool')
source=("http://downloads.sourceforge.net/iodbc/${pkgname}-${pkgver}.tar.gz")
md5sums=('9889f95f632f10895ff53b8a22162810')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	./configure --prefix=/usr \
		--disable-static \
		--includedir=/usr/include/libiodbc \
		--disable-gui \
		--disable-libodbc
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	make DESTDIR=${pkgdir} install
	chrpath -d ${pkgdir}/usr/bin/iodbctest{,w}
	rm -rf ${pkgdir}/usr/share/libiodbc/
}