1 |
keri 10/01/06 06:42:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swi-prolog-5.9.5.ebuild |
5 |
Log: |
6 |
Bump -5.9 development version |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.200 dev-lang/swi-prolog/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.200&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.200&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.199&r2=1.200 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v |
19 |
retrieving revision 1.199 |
20 |
retrieving revision 1.200 |
21 |
diff -u -r1.199 -r1.200 |
22 |
--- ChangeLog 12 Dec 2009 19:04:25 -0000 1.199 |
23 |
+++ ChangeLog 6 Jan 2010 06:42:25 -0000 1.200 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-lang/swi-prolog |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.199 2009/12/12 19:04:25 keri Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.200 2010/01/06 06:42:25 keri Exp $ |
30 |
+ |
31 |
+*swi-prolog-5.9.5 (06 Jan 2010) |
32 |
+ |
33 |
+ 06 Jan 2010; <keri@g.o> +swi-prolog-5.9.5.ebuild: |
34 |
+ Bump -5.9 development version |
35 |
|
36 |
*swi-prolog-5.9.4 (12 Dec 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/swi-prolog/swi-prolog-5.9.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.9.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.9.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: swi-prolog-5.9.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 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-5.9.5.ebuild,v 1.1 2010/01/06 06:42:25 keri Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic java-pkg-opt-2 |
53 |
|
54 |
PATCHSET_VER="0" |
55 |
|
56 |
DESCRIPTION="free, small, and standard compliant Prolog compiler" |
57 |
HOMEPAGE="http://www.swi-prolog.org/" |
58 |
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz |
59 |
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
64 |
IUSE="berkdb debug doc gmp hardened java minimal odbc readline ssl static test zlib X" |
65 |
|
66 |
RDEPEND="!media-libs/ploticus |
67 |
sys-libs/ncurses |
68 |
zlib? ( sys-libs/zlib ) |
69 |
odbc? ( dev-db/unixODBC ) |
70 |
berkdb? ( sys-libs/db ) |
71 |
readline? ( sys-libs/readline ) |
72 |
gmp? ( dev-libs/gmp ) |
73 |
ssl? ( dev-libs/openssl ) |
74 |
java? ( >=virtual/jdk-1.4 |
75 |
test? ( =dev-java/junit-3.8* ) ) |
76 |
X? ( |
77 |
media-libs/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 |
|
88 |
S="${WORKDIR}/pl-${PV}" |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
cd "${S}" |
93 |
|
94 |
EPATCH_FORCE=yes |
95 |
EPATCH_SUFFIX=patch |
96 |
epatch "${WORKDIR}"/${PV} |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
einfo "Building SWI-Prolog compiler" |
101 |
|
102 |
append-flags -fno-strict-aliasing |
103 |
use hardened && append-flags -fno-unit-at-a-time |
104 |
use debug && append-flags -DO_DEBUG |
105 |
|
106 |
cd "${S}"/src |
107 |
econf \ |
108 |
--libdir=/usr/$(get_libdir) \ |
109 |
$(use_enable gmp) \ |
110 |
$(use_enable readline) \ |
111 |
$(use_enable !static shared) \ |
112 |
--enable-custom-flags COFLAGS="${CFLAGS}" \ |
113 |
|| die "econf failed" |
114 |
emake || die "emake failed" |
115 |
|
116 |
if ! use minimal ; then |
117 |
einfo "Building SWI-Prolog additional packages" |
118 |
|
119 |
local jpltestconf |
120 |
if use java && use test ; then |
121 |
jpltestconf="--with-junit=$(java-config --classpath junit)" |
122 |
fi |
123 |
|
124 |
cd "${S}/packages" |
125 |
econf \ |
126 |
--libdir=/usr/$(get_libdir) \ |
127 |
--without-C-sicstus \ |
128 |
--with-chr \ |
129 |
--with-clib \ |
130 |
--with-clpqr \ |
131 |
--with-cpp \ |
132 |
--with-cppproxy \ |
133 |
$(use_with berkdb db) \ |
134 |
--with-http \ |
135 |
--without-jasmine \ |
136 |
$(use_with java jpl) \ |
137 |
${jpltestconf} \ |
138 |
--with-nlp \ |
139 |
$(use_with odbc) \ |
140 |
--with-pldoc \ |
141 |
--with-plunit \ |
142 |
--with-semweb \ |
143 |
--with-sgml \ |
144 |
--with-sgml/RDF \ |
145 |
$(use_with ssl) \ |
146 |
--with-table \ |
147 |
$(use_with X xpce) \ |
148 |
$(use_with zlib) \ |
149 |
COFLAGS='"${CFLAGS}"' \ |
150 |
|| die "packages econf failed" |
151 |
|
152 |
emake || die "packages emake failed" |
153 |
fi |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake -C src DESTDIR="${D}" install || die "install src failed" |
158 |
|
159 |
if ! use minimal ; then |
160 |
emake -C packages DESTDIR="${D}" install || die "install packages failed" |
161 |
if use doc ; then |
162 |
emake -C packages DESTDIR="${D}" html-install || die "html-install failed" |
163 |
emake -C packages/cppproxy DESTDIR="${D}" install-examples || die "install-examples failed" |
164 |
fi |
165 |
fi |
166 |
|
167 |
dodoc ChangeLog INSTALL PORTING README VERSION |
168 |
} |
169 |
|
170 |
src_test() { |
171 |
cd "${S}/src" |
172 |
emake check || die "make check failed. See above for details." |
173 |
|
174 |
if ! use minimal ; then |
175 |
cd "${S}/packages" |
176 |
emake check || die "make check failed. See above for details." |
177 |
fi |
178 |
} |