# $Id$ PNAME="enchant" PVER="1.6.0" PBUILD="r2" PCATEGORIE="app-text" DESCRIPTION="Enchant is a generic spell checking library." HOMEPAGE="http://www.abisource.com/enchant/" DEPEND=">= dev-libs/glib2-2.28 >= app-text/aspell-0.60 >= app-text/hunspell-1.3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://www.abisource.com/downloads/${PNAME}/${PVER}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-1.5.0-multilib.patch ) UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes issues on multilib systems mpatch ${PNAME}-1.5.0-multilib.patch || die # rebuild configure autoreconf --verbose --install --force || die } src_compile() { cd ${SRCDIR} mconfigure \ --enable-aspell \ --enable-myspell \ --with-system-myspell \ --disable-zemberek \ --disable-ispell \ || die mmake || die }