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