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