updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libodbc++ / PKGBUILD
blobb6106677028fd9a2d7738ecf64605bf378c5d9e9
1 pkgname=libodbc++
2 pkgver=0.2.5
3 pkgrel=1
4 pkgdesc="Libodbc++ is a c++ class library for accessing SQL databases. Include gentoo's fix patch for GCC 4.4."
5 arch=("i686" "x86_64")
6 url="http://libodbcxx.sourceforge.net/"
7 license="LGPL"
8 depends=("unixodbc")
11 source=("http://dfn.dl.sourceforge.net/project/libodbcxx/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" "libodbc++-0.2.3-gcc44.patch")
12 md5sums=('cadc519ef0164e92fe911ae624c985c1' '69e0b2e6d7f517480fefd0636b235010')
14 build() {
15         cd "$srcdir/$pkgname-$pkgver"
16         patch -p1 < ../../libodbc++-0.2.3-gcc44.patch || return 1       
18         ./configure --prefix=/usr --with-odbc=/usr
19     make || return 1
20         make DESTDIR="$pkgdir" install || return 1