# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/omake/omake-0.9.4.ebuild,v 1.2 2005/02/17 20:05:20 mattam Exp $ EXTRAPV="-2" DESCRIPTION="Make replacement" HOMEPAGE="http://omake.metaprl.org/" SRC_URI="http://omake.metaprl.org/downloads/${P}${EXTRAPV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc ~amd64" IUSE="fam ncurses readline" DEPEND=">=dev-lang/ocaml-3.0.8 fam? ( >=app-admin/fam-2.7.0 ) ncurses? ( >=sys-libs/ncurses-5.3 ) readline? ( >=sys-libs/readline-4.3 )" src_compile() { ./configure \ `use_with ncurses` \ `use_with readline` \ `use_with fam` \ --prefix=/usr \ --mandir=/usr/share/man || die "./configure failed" emake || die "make failed" } src_install() { make libdir=${D}/usr/lib \ mandir=${D}/usr/share/man \ bindir=${D}/usr/bin \ install || die }