summaryrefslogtreecommitdiff
blob: 02ffbc52da0e834d655193798a31ce9e8889245d (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamldsort/ocamldsort-0.14.4.ebuild,v 1.2 2008/08/16 16:26:09 nixnut Exp $

DESCRIPTION="A dependency sorter for OCaml source files"
HOMEPAGE="http://dimitri.mutu.net/ocaml.html"

SRC_URI="ftp://quatramaran.ens.fr/pub/ara/ocamldsort/${P}.tar.gz"

LICENSE="LGPL-2"

SLOT="0"

KEYWORDS="~amd64 ppc ~x86"

IUSE=""

DEPEND=">=dev-lang/ocaml-3.06"

src_compile() {
	econf
	emake -j1 || die
}

src_install() {
	emake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man" install || die "make install failed"
	dodoc README THANKS Changes
}