# $Id$ PNAME="pkgconfig" PVER="0.29.2" PBUILD="r3" PCAT="dev-util" DESCRIPTION="pkg-config is a helper tool used when compiling applications and libraries." HOMEPAGE="http://pkgconfig.freedesktop.org/" DEPEND=">= dev-libs/glib2-2.64 >= dev-libs/popt-1.16" SDEPEND=">= dev-libs/glib2-dev-2.64 >= dev-libs/popt-dev-1.16" SRCFILE="pkg-config-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/pkg-config-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( http://pkgconfig.freedesktop.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # use pkg-config as tarballname UP2TARBALL="pkg-config" UP2DATE="updatecmd_freedesktop ${PNAME} gz" src_compile() { cd ${SRCDIR} # set pc_path to /usr/lib/pkgconfig instead of /usr/lib/pkg-config # >=0.19 is fixed upstream but we force this to prevent many problems mconfigure --with-pc-path="\${libdir}/pkgconfig:\${datadir}/pkgconfig" || die mmake || die }