/[gentoo-x86]/dev-lang/polyml/polyml-5.5.0.ebuild
Gentoo

Contents of /dev-lang/polyml/polyml-5.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 5 09:49:35 2012 UTC (2 years ago) by gienah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +6 -4 lines
Fix bug 443452 dev-lang/polyml-5.5.0 should depend on and use dev-libs/libffi. EAPI=5 with subslot depends for polyml 5.4.1 and 5.5.0 to automatically rebuild EAPI=5 dependent packages using subslot depends such as sci-mathematics/isabelle

(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 618E971F)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/polyml/polyml-5.5.0.ebuild,v 1.2 2012/10/24 19:04:03 ulm Exp $
4
5 EAPI="5"
6
7 inherit base autotools versionator
8
9 # Although the download is called 5.5, after building it poly -v says
10 # it is 5.5.0.
11 MY_PV=$(get_version_component_range "1-2" "${PV}")
12 MY_P="${PN}.${MY_PV}"
13
14 DESCRIPTION="Poly/ML is a full implementation of Standard ML"
15 HOMEPAGE="http://www.polyml.org"
16 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
17
18 LICENSE="LGPL-2.1"
19 SLOT="0/${PV}"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="X elibc_glibc +gmp portable test +threads"
22
23 RDEPEND="X? ( x11-libs/motif )
24 gmp? ( >=dev-libs/gmp-5 )
25 elibc_glibc? ( threads? ( >=sys-libs/glibc-2.13 ) )
26 virtual/libffi"
27 DEPEND="${RDEPEND}"
28
29 S=${WORKDIR}/${MY_P}
30
31 PATCHES=("${FILESDIR}/${PN}-5.5.0-configure.patch"
32 "${FILESDIR}/${PN}-5.5.0-x-it-basis.patch"
33 "${FILESDIR}/${PN}-5.5.0-asm.patch")
34
35 src_prepare() {
36 base_src_prepare
37 eautoreconf
38 }
39
40 src_configure() {
41 econf \
42 --with-system-libffi \
43 $(use_with X x) \
44 $(use_with gmp) \
45 $(use_with portable) \
46 $(use_with threads)
47 }
48
49 src_test() {
50 emake tests || die "tests failed"
51 }

  ViewVC Help
Powered by ViewVC 1.1.20