# $Header: /magellan-cvs/smage/libpcre/libpcre-7.6-r2.smage2,v 1.1 2008/04/03 12:28:22 niro Exp $ PNAME="libpcre" PVER="7.6" PBUILD="r2" PCATEGORIE="dev-libs" STATE="unstable" DESCRIPTION="PCRE - Perl Compatible Regular Expressions." HOMEPAGE="http://www.pcre.org/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" sminclude mbuild SRC_URI=( ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} export CFLAGS="${CFLAGS} -fPIC" export CXXFLAGS="${CFLAGS}" mconfigure --enable-utf8 || die # does not like optimations > -j1 mmake -j1 || die }