# $Id$ PNAME="aspell" PVER="0.60.6.1" PBUILD="r5" PCAT="app-text" DESCRIPTION="GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell." HOMEPAGE="http://aspell.sourceforge.net/" DEPEND=">= sys-libs/ncurses-6.0 >= sys-libs/libstdc++-6.3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-gcc7-fixes.patch ) UP2DATE="updatecmd_gnu ${PNAME} gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix ftbfs with gcc7 mpatch ${PNAME}-${PVER}-gcc7-fixes.patch || die } src_compile() { cd ${SRCDIR} mconfigure \ --sysconfdir=/etc/aspell \ --enable-docdir=/usr/share/doc/${PNAME}-${PVER} \ || die mmake || die }