# $Id$ PNAME="unixodbc" PVER="2.3.6" PBUILD="r1" PCAT="dev-db" DESCRIPTION="The definitive standard for ODBC on non MS Windows platforms." HOMEPAGE="http://www.unixodbc.org/" DEPEND=">= sys-libs/ncurses-5.9 >= sys-libs/readline-7.0 >= sys-libs/libltdl-2.4" SRCFILE="unixODBC-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/unixODBC-${PVER}" sminclude mbuild SRC_URI=( http://www.unixodbc.org/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}/download.html | lasttarball gz" src_compile() { cd ${SRCDIR} mconfigure \ --sysconfdir=/etc/${PNAME} \ --enable-static \ --enable-fdb \ --enable-gui=no \ || die mmake -j1 || die }