From: | "Keri Harris (keri)" <keri@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/swi-prolog: ChangeLog swi-prolog-5.6.45.ebuild |
Date: | Fri, 26 Oct 2007 19:48:06 |
Message-Id: | E1IlV9z-0000V4-J0@stork.gentoo.org |
1 | keri 07/10/26 19:47:59 |
2 | |
3 | Modified: ChangeLog |
4 | Added: swi-prolog-5.6.45.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.3.16) |
8 | |
9 | Revision Changes Path |
10 | 1.123 dev-lang/swi-prolog/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.123&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?rev=1.123&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/ChangeLog?r1=1.122&r2=1.123 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v |
19 | retrieving revision 1.122 |
20 | retrieving revision 1.123 |
21 | diff -u -r1.122 -r1.123 |
22 | --- ChangeLog 20 Oct 2007 20:21:57 -0000 1.122 |
23 | +++ ChangeLog 26 Oct 2007 19:47:59 -0000 1.123 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-lang/swi-prolog |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.122 2007/10/20 20:21:57 keri Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.123 2007/10/26 19:47:59 keri Exp $ |
29 | + |
30 | +*swi-prolog-5.6.45 (26 Oct 2007) |
31 | + |
32 | + 26 Oct 2007; keri <keri@g.o> +swi-prolog-5.6.45.ebuild: |
33 | + Version bump. |
34 | |
35 | *swi-prolog-5.6.44 (20 Oct 2007) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-lang/swi-prolog/swi-prolog-5.6.45.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.45.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.45.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: swi-prolog-5.6.45.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2007 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.6.45.ebuild,v 1.1 2007/10/26 19:47:59 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://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/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 tetex threads zlib X" |
64 | |
65 | DEPEND="!dev-lang/swi-prolog-lite |
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 | dev-java/junit ) |
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 | use hardened && append-flags -fno-unit-at-a-time |
100 | use debug && append-flags -DO_DEBUG |
101 | |
102 | local threadconf |
103 | if use java && ! use minimal || use threads ; then |
104 | threadconf="--enable-mt" |
105 | else |
106 | threadconf="--disable-mt" |
107 | fi |
108 | |
109 | cd "${S}"/src |
110 | econf \ |
111 | --libdir=/usr/$(get_libdir) \ |
112 | ${threadconf} \ |
113 | $(use_enable gmp) \ |
114 | $(use_enable readline) \ |
115 | $(use_enable !static shared) \ |
116 | --disable-custom-flags \ |
117 | || die "econf failed" |
118 | emake || die "emake failed" |
119 | |
120 | if ! use minimal ; then |
121 | einfo "Building SWI-Prolog additional packages" |
122 | |
123 | cd "${S}/packages" |
124 | econf \ |
125 | --libdir=/usr/$(get_libdir) \ |
126 | ${threadconf} \ |
127 | $(use_enable !static shared) \ |
128 | --without-C-sicstus \ |
129 | --with-chr \ |
130 | --with-clib \ |
131 | --with-clpqr \ |
132 | --with-cpp \ |
133 | --with-cppproxy \ |
134 | $(use_with berkdb db) \ |
135 | --with-http \ |
136 | --without-jasmine \ |
137 | $(use_with java jpl) \ |
138 | $(use_with tetex ltx2htm) \ |
139 | --with-nlp \ |
140 | $(use_with odbc) \ |
141 | --with-pldoc \ |
142 | --with-plunit \ |
143 | --with-semweb \ |
144 | --with-sgml \ |
145 | --with-sgml/RDF \ |
146 | $(use_with ssl) \ |
147 | --with-table \ |
148 | $(use_with X xpce) \ |
149 | $(use_with zlib) \ |
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 ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI 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 | } |
179 | |
180 | |
181 | |
182 | -- |
183 | gentoo-commits@g.o mailing list |