# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="jbofi'e is a Lojban parser" HOMEPAGE="http://www.rc0.org.uk/jbofihe/" SRC_URI="http://www.rpcurnow.force9.co.uk/${PN}/${P}.tar.gz http://www.lojban.org/publications/draft-dictionary/NORALUJV.txt" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-lang/perl sys-devel/flex sys-devel/bison" src_unpack() { unpack ${P}.tar.gz ln ${DISTDIR}/NORALUJV.txt ${S} epatch ${FILESDIR}/${P}-modernize.patch } src_compile() { perl config.pl || die make \ PREFIX=/usr \ LIBDIR=/usr/$(get_libdir)/${PN} \ all || die } src_install() { make \ PREFIX=${D}/usr \ LIBDIR=${D}/usr/$(get_libdir)/${PN} \ install || die }