# $Id$ PNAME="apr-util" PVER="1.6.0" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="APR-Util - Apache Portable Runtime Utility library." HOMEPAGE="http://apr.apache.org/" DEPEND=">= dev-libs/expat-2 >= dev-libs/apr-${PVER} >= dev-db/db-6.2 >= sys-libs/libuuid-2.25" DEPEND=">= dev-libs/expat-dev-2 >= dev-libs/apr-${PVER} >= dev-db/db-dev-6.2 >= sys-libs/libuuid-dev-2.25" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://archive.apache.org/dist/apr/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball" src_compile() { cd ${SRCDIR} mconfigure \ --datadir=/usr/share/${PNAME}-${PVER:0:1} \ --includedir=/usr/include/apr-${PVER:0:1} \ --with-apr=/usr \ --with-expat=/usr \ --with-dbm=db \ --with-berkeley-db \ --without-odbc \ --without-gdbm \ --without-mysql \ --without-pgsql \ --without-sqlite2 \ --without-sqlite3 \ || die mmake || die }