# Description: Independent Open DataBase Connectivity for Linux
# URL: http://www.iodbc.org
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr

name=libiodbc
version=3.52.7
release=1
source=(http://downloads.sourceforge.net/sourceforge/iodbc/$name-$version.tar.gz)

build() {
cd $name-$version
        ./configure --prefix=/usr \
                    --disable-static \
                    --includedir=/usr/include/libiodbc \
                    --disable-gui \
                    --disable-libodbc 
	make
        make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/libiodbc/
}