diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/fort/fort-0.4.2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/fort/fort-0.4.2.ebuild')
-rw-r--r-- | dev-ml/fort/fort-0.4.2.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ml/fort/fort-0.4.2.ebuild b/dev-ml/fort/fort-0.4.2.ebuild new file mode 100644 index 000000000000..7471bf89ba24 --- /dev/null +++ b/dev-ml/fort/fort-0.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib eutils + +DESCRIPTION="provides an environment for testing programs and Objective Caml modules" +HOMEPAGE="http://fort.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND="dev-lang/ocaml:=" +RDEPEND="${DEPEND}" +DOCS=( README ) + +src_prepare() { + has_version '>=dev-lang/ocaml-4' && epatch "${FILESDIR}/${P}-ocaml4.patch" + sed -i -e "s:\$(BINDIR):\$(DESTDIR)&:"\ + -e "s:\$(LIBDIR):\$(DESTDIR)&:" Makefile || die +} + +src_configure() { + ./configure --bindir /usr/bin --libdir /usr/$(get_libdir)/ocaml || die +} |