# $Header: /magellan-cvs/smage/apr-util/apr-util-1.2.12-r3.smage2,v 1.1 2008/03/15 21:21:39 niro Exp $ PNAME="apr-util" PVER="1.3.4" PBUILD="r1" PCATEGORIE="dev-libs" STATE="unstable" DESCRIPTION="APR-Util - Apache Portable Runtime Utility library." HOMEPAGE="http://apr.apache.org/" # our supported db version DB_VERSION="4.7" DEPEND=">= dev-libs/expat-2 >= dev-libs/apr-${PVER} >= dev-db/db-${DB_VERSION}" 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/ | 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${DB_VERSION/./} \ --with-berkeley-db \ --without-gdbm \ --without-mysql \ --without-pgsql \ --without-sqlite2 \ --without-sqlite3 \ || die mmake || die }