# $Id$ PNAME="popt" PVER="1.15" PBUILD="r2" PCATEGORIE="dev-libs" STATE="unstable" DESCRIPTION="Popt - Library for parsing command line options." HOMEPAGE="http://rpm5.org/" DEPEND="" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" sminclude mbuild mcore-split SRC_URI=( http://rpm5.org/files/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://rpm5.org/files/${PNAME} | lasttarball gz" src_compile() { cd ${SRCDIR} mconfigure --disable-nls --with-gnu-ld || die mmake || die }