summaryrefslogtreecommitdiff
path: root/extra/libiodbc/PKGBUILD
blob: 01abdabebe68c0ddfa18cc701554d7871a8c8744 (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
# $Id: PKGBUILD 198186 2013-10-30 13:19:46Z allan $
# 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=2
pkgdesc='Independent Open DataBase Connectivity for Linux'
arch=('i686' 'x86_64' 'mips64el')
url="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
license=('LGPL')
depends=('sh')
makedepends=('chrpath')
source=("http://downloads.sourceforge.net/iodbc/${pkgname}-${pkgver}.tar.gz")
md5sums=('9889f95f632f10895ff53b8a22162810')

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

package() {
	cd ${pkgname}-${pkgver}
	make DESTDIR=${pkgdir} install

	chrpath -d ${pkgdir}/usr/bin/iodbctest{,w}
	rm -rf ${pkgdir}/usr/share/libiodbc/
}