blob: 1c92ade8410028c0932fc2453e90b40144cb5c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
}
|