# $Id$ PNAME="libiodbc" PVER="3.52.7" PBUILD="r4" PCAT="dev-db" DESCRIPTION="ODBC Interface for Linux." HOMEPAGE="http://www.iodbc.org/" DEPEND=">= sys-libs/ncurses-5.9 >= sys-libs/readline-6.2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://www.iodbc.org/downloads/iODBC/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads | firsttarball gz" src_compile() { cd ${SRCDIR} # using gentoo dir location, which fits our distribution well # --disable-libodbc to minimize conflicts with unixODBC mconfigure --with-layout=gentoo --disable-gui --disable-libodbc --enable-odbc3 || die mmake -j1 || die }