updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / iodbc / PKGBUILD
blob31bd7b7eac9f50543066fe5255471af3d674749c
1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
4 pkgname=iodbc
5 pkgver=3.52.7
6 pkgrel=1
7 pkgdesc="Independent Open DataBase Connectivity for Linux, MacOS X and Unix systems"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 url="http://www.iodbc.org"
11 source=("http://www.iodbc.org/downloads/iODBC/lib$pkgname-$pkgver.tar.gz")
12 md5sums=('ddbd274cb31d65be6a78da58fc09079a')
14 build() {
15         cd $srcdir/lib$pkgname-$pkgver
17         ./configure --prefix=/usr \
18     --with-iodbc-inidir=/etc \
19     --disable-gtktest || return 1
20   
21         make || return 1
24 package() {
25         cd $srcdir/lib$pkgname-$pkgver
26   
27   make DESTDIR=$pkgdir install || return 1
29   # Licenses
30   mkdir -p $pkgdir/usr/share/license/$pkgname/ || return 1
31   install -Dm444 LICENSE $pkgdir/usr/share/license/$pkgname/ || return 1
32   install -Dm444 LICENSE.LGPL $pkgdir/usr/share/license/$pkgname/ || return 1
33   install -Dm444 LICENSE.BSD  $pkgdir/usr/share/license/$pkgname/ || return 1
36 # vim:set ts=2 sw=2 et: