From: | "Keri Harris (keri)" <keri@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/swi-prolog: swi-prolog-6.1.8.ebuild ChangeLog |
Date: | Sun, 01 Jul 2012 07:38:19 |
Message-Id: | 20120701073759.12F342004B@flycatcher.gentoo.org |
1 | keri 12/07/01 07:37:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: swi-prolog-6.1.8.ebuild |
5 | Log: |
6 | Bump -6.1 development version |
7 | |
8 | (Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.333 dev-lang/swi-prolog/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.333&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.333&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.332&r2=1.333 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v |
20 | retrieving revision 1.332 |
21 | retrieving revision 1.333 |
22 | diff -u -r1.332 -r1.333 |
23 | --- ChangeLog 27 Jun 2012 12:59:54 -0000 1.332 |
24 | +++ ChangeLog 1 Jul 2012 07:37:58 -0000 1.333 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-lang/swi-prolog |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.332 2012/06/27 12:59:54 keri Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.333 2012/07/01 07:37:58 keri Exp $ |
30 | + |
31 | +*swi-prolog-6.1.8 (30 Jun 2012) |
32 | + |
33 | + 30 Jun 2012; <keri@g.o> +swi-prolog-6.1.8.ebuild: |
34 | + Bump -6.1 development version |
35 | |
36 | *swi-prolog-6.1.7 (27 Jun 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-lang/swi-prolog/swi-prolog-6.1.8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: swi-prolog-6.1.8.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.8.ebuild,v 1.1 2012/07/01 07:37:58 keri Exp $ |
51 | |
52 | EAPI=2 |
53 | |
54 | inherit eutils flag-o-matic java-pkg-opt-2 multilib |
55 | |
56 | PATCHSET_VER="0" |
57 | |
58 | DESCRIPTION="free, small, and standard compliant Prolog compiler" |
59 | HOMEPAGE="http://www.swi-prolog.org/" |
60 | SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz |
61 | mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" |
62 | |
63 | LICENSE="LGPL-2.1" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X" |
67 | |
68 | RDEPEND="sys-libs/ncurses |
69 | archive? ( app-arch/libarchive ) |
70 | zlib? ( sys-libs/zlib ) |
71 | odbc? ( dev-db/unixODBC ) |
72 | readline? ( sys-libs/readline ) |
73 | gmp? ( dev-libs/gmp ) |
74 | ssl? ( dev-libs/openssl ) |
75 | java? ( >=virtual/jdk-1.4 ) |
76 | X? ( |
77 | virtual/jpeg |
78 | x11-libs/libX11 |
79 | x11-libs/libXft |
80 | x11-libs/libXpm |
81 | x11-libs/libXt |
82 | x11-libs/libICE |
83 | x11-libs/libSM )" |
84 | |
85 | DEPEND="${RDEPEND} |
86 | X? ( x11-proto/xproto ) |
87 | java? ( test? ( =dev-java/junit-3.8* ) )" |
88 | |
89 | S="${WORKDIR}/pl-${PV}" |
90 | |
91 | src_prepare() { |
92 | EPATCH_FORCE=yes |
93 | EPATCH_SUFFIX=patch |
94 | epatch "${WORKDIR}"/${PV} |
95 | } |
96 | |
97 | src_configure() { |
98 | append-flags -fno-strict-aliasing |
99 | use ppc && append-flags -mno-altivec |
100 | use hardened && append-flags -fno-unit-at-a-time |
101 | use debug && append-flags -DO_DEBUG |
102 | |
103 | cd "${S}"/src |
104 | econf \ |
105 | --libdir=/usr/$(get_libdir) \ |
106 | $(use_enable gmp) \ |
107 | $(use_enable readline) \ |
108 | $(use_enable static-libs static) \ |
109 | --enable-shared \ |
110 | --enable-custom-flags COFLAGS="${CFLAGS}" |
111 | } |
112 | |
113 | src_compile() { |
114 | cd "${S}"/src |
115 | emake || die "emake failed" |
116 | |
117 | if ! use minimal ; then |
118 | local jpltestconf |
119 | if use java && use test ; then |
120 | jpltestconf="--with-junit=$(java-config --classpath junit)" |
121 | fi |
122 | |
123 | cd "${S}/packages" |
124 | econf \ |
125 | --libdir=/usr/$(get_libdir) \ |
126 | $(use_with archive) \ |
127 | --with-chr \ |
128 | --with-clib \ |
129 | --with-clpqr \ |
130 | --with-cpp \ |
131 | --with-http \ |
132 | $(use_with java jpl) \ |
133 | ${jpltestconf} \ |
134 | --with-nlp \ |
135 | $(use_with odbc) \ |
136 | --with-PDT \ |
137 | --with-pldoc \ |
138 | --with-plunit \ |
139 | --with-protobufs \ |
140 | --with-R \ |
141 | --with-RDF \ |
142 | --with-semweb \ |
143 | --with-sgml \ |
144 | $(use_with ssl) \ |
145 | --with-table \ |
146 | --with-tipc \ |
147 | --with-utf8proc \ |
148 | $(use_with X xpce) \ |
149 | $(use_with zlib) \ |
150 | COFLAGS='"${CFLAGS}"' |
151 | |
152 | emake || die "packages emake failed" |
153 | fi |
154 | } |
155 | |
156 | src_test() { |
157 | cd "${S}/src" |
158 | emake check || die "make check failed. See above for details." |
159 | |
160 | if ! use minimal ; then |
161 | cd "${S}/packages" |
162 | emake check || die "make check failed. See above for details." |
163 | fi |
164 | } |
165 | |
166 | src_install() { |
167 | emake -C src DESTDIR="${D}" install || die "install src failed" |
168 | |
169 | if ! use minimal ; then |
170 | emake -C packages DESTDIR="${D}" install || die "install packages failed" |
171 | if use doc ; then |
172 | emake -C packages DESTDIR="${D}" html-install || die "html-install failed" |
173 | fi |
174 | fi |
175 | |
176 | dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die |
177 | } |