1 |
keri 12/06/18 10:29:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swi-prolog-6.1.5.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.328 dev-lang/swi-prolog/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.328&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.328&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.327&r2=1.328 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v |
20 |
retrieving revision 1.327 |
21 |
retrieving revision 1.328 |
22 |
diff -u -r1.327 -r1.328 |
23 |
--- ChangeLog 4 Jun 2012 20:55:00 -0000 1.327 |
24 |
+++ ChangeLog 18 Jun 2012 10:29:32 -0000 1.328 |
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.327 2012/06/04 20:55:00 zmedico Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.328 2012/06/18 10:29:32 keri Exp $ |
30 |
+ |
31 |
+*swi-prolog-6.1.5 (15 Jun 2012) |
32 |
+ |
33 |
+ 15 Jun 2012; <keri@g.o> +swi-prolog-6.1.5.ebuild: |
34 |
+ Bump -6.1 development version |
35 |
|
36 |
04 Jun 2012; Zac Medico <zmedico@g.o> swi-prolog-5.10.5-r1.ebuild, |
37 |
swi-prolog-6.0.0.ebuild, swi-prolog-6.0.1.ebuild, swi-prolog-6.1.0.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/swi-prolog/swi-prolog-6.1.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.1.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: swi-prolog-6.1.5.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.5.ebuild,v 1.1 2012/06/18 10:29:32 keri Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils flag-o-matic java-pkg-opt-2 |
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 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 shared) \ |
109 |
--enable-custom-flags COFLAGS="${CFLAGS}" |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
cd "${S}"/src |
114 |
emake || die "emake failed" |
115 |
|
116 |
if ! use minimal ; then |
117 |
local jpltestconf |
118 |
if use java && use test ; then |
119 |
jpltestconf="--with-junit=$(java-config --classpath junit)" |
120 |
fi |
121 |
|
122 |
cd "${S}/packages" |
123 |
econf \ |
124 |
--libdir=/usr/$(get_libdir) \ |
125 |
$(use_with archive) \ |
126 |
--with-chr \ |
127 |
--with-clib \ |
128 |
--with-clpqr \ |
129 |
--with-cpp \ |
130 |
--with-http \ |
131 |
$(use_with java jpl) \ |
132 |
${jpltestconf} \ |
133 |
--with-nlp \ |
134 |
$(use_with odbc) \ |
135 |
--with-PDT \ |
136 |
--with-pldoc \ |
137 |
--with-plunit \ |
138 |
--with-protobufs \ |
139 |
--with-R \ |
140 |
--with-RDF \ |
141 |
--with-semweb \ |
142 |
--with-sgml \ |
143 |
$(use_with ssl) \ |
144 |
--with-table \ |
145 |
--with-tipc \ |
146 |
--with-utf8proc \ |
147 |
$(use_with X xpce) \ |
148 |
$(use_with zlib) \ |
149 |
COFLAGS='"${CFLAGS}"' |
150 |
|
151 |
emake || die "packages emake failed" |
152 |
fi |
153 |
} |
154 |
|
155 |
src_test() { |
156 |
cd "${S}/src" |
157 |
emake check || die "make check failed. See above for details." |
158 |
|
159 |
if ! use minimal ; then |
160 |
cd "${S}/packages" |
161 |
emake check || die "make check failed. See above for details." |
162 |
fi |
163 |
} |
164 |
|
165 |
src_install() { |
166 |
emake -C src DESTDIR="${D}" install || die "install src failed" |
167 |
|
168 |
if ! use minimal ; then |
169 |
emake -C packages DESTDIR="${D}" install || die "install packages failed" |
170 |
if use doc ; then |
171 |
emake -C packages DESTDIR="${D}" html-install || die "html-install failed" |
172 |
fi |
173 |
fi |
174 |
|
175 |
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die |
176 |
} |