Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lisp/clisp: ChangeLog clisp-2.43.ebuild
Date: Sun, 18 Nov 2007 19:08:47
Message-Id: E1ItpVY-00045i-L3@stork.gentoo.org
1 hkbst 07/11/18 19:08:40
2
3 Modified: ChangeLog
4 Added: clisp-2.43.ebuild
5 Log:
6 bump
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.67 dev-lisp/clisp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 22 Oct 2007 13:32:17 -0000 1.66
23 +++ ChangeLog 18 Nov 2007 19:08:40 -0000 1.67
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lisp/clisp
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.66 2007/10/22 13:32:17 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.67 2007/11/18 19:08:40 hkbst Exp $
29 +
30 +*clisp-2.43 (18 Nov 2007)
31 +
32 + 18 Nov 2007; Marijn Schouten <hkBst@g.o> +clisp-2.43.ebuild:
33 + bump
34
35 *clisp-2.42-r1 (22 Oct 2007)
36
37
38
39
40 1.1 dev-lisp/clisp/clisp-2.43.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.43.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lisp/clisp/clisp-2.43.ebuild?rev=1.1&content-type=text/plain
44
45 Index: clisp-2.43.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-lisp/clisp/clisp-2.43.ebuild,v 1.1 2007/11/18 19:08:40 hkbst Exp $
50
51 inherit flag-o-matic eutils toolchain-funcs multilib
52
53 DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp"
54 HOMEPAGE="http://clisp.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="2"
59 KEYWORDS="~amd64 -sparc ~x86"
60 IUSE="X new-clx fastcgi gdbm gtk pcre postgres readline svm zlib"
61
62 RDEPEND="dev-lisp/gentoo-init
63 >=dev-libs/libsigsegv-2.4
64 virtual/tetex
65 fastcgi? ( dev-libs/fcgi )
66 gdbm? ( sys-libs/gdbm )
67 gtk? ( >=x11-libs/gtk+-2.10 >=gnome-base/libglade-2.6 )
68 postgres? ( >=dev-db/postgresql-8.0 )
69 readline? ( sys-libs/readline )
70 pcre? ( dev-libs/libpcre )
71 svm? ( sci-libs/libsvm )
72 zlib? ( sys-libs/zlib )
73 X? ( new-clx? ( x11-libs/libXpm ) )"
74 # * GNU gettext
75 # + Not needed on systems with glibc 2.2 or newer, but recommended on all
76 # other systems: needed if you want clisp with native language support.
77 # sys-devel/gettext
78
79 DEPEND="${RDEPEND} X? ( new-clx? ( x11-misc/imake x11-proto/xextproto ) )"
80
81 PROVIDE="virtual/commonlisp"
82
83 src_unpack() {
84 unpack ${A}
85 # Fix module install path: 2.41.1 -> 2.42
86 sed -i 's:2\.41\.1:2\.42:' "${S}"/src/{configure,version.h}
87 }
88
89 enable_modules() {
90 [[ $# = 0 ]] && die "${FUNCNAME[0]} must receive at least one argument"
91 for m in "$@" ; do
92 einfo "enabling module $m"
93 myconf="${myconf} --with-module=${m}"
94 done
95 }
96
97 BUILDDIR="builddir"
98
99 src_compile() {
100 CC="$(tc-getCC)"
101
102 # built-in features
103 local myconf="--with-dynamic-ffi"
104 use readline || myconf="${myconf} --with-noreadline"
105
106 # default modules
107 enable_modules wildcard rawsock i18n
108 # optional modules
109 use elibc_glibc && enable_modules bindings/glibc
110 if use X; then
111 if use new-clx; then
112 enable_modules clx/new-clx
113 else
114 enable_modules clx/mit-clx
115 fi
116 fi
117 if use postgres; then
118 enable_modules postgresql
119 CC="${CC} -I $(pg_config --includedir)"
120 fi
121 use fastcgi && enable_modules fastcgi
122 use gdbm && enable_modules gdbm
123 use gtk && enable_modules gtk2
124 use pcre && enable_modules pcre
125 use svm && enable_modules libsvm
126 use zlib && enable_modules zlib
127
128 # configure chokes on --infodir option
129 ./configure --prefix=/usr --libdir=/usr/$(get_libdir) \
130 ${myconf} ${BUILDDIR} || die "./configure failed"
131 cd ${BUILDDIR}
132 ./makemake ${myconf} > Makefile
133 # emake config.lisp
134 # sed -i 's,"vi","nano",g' config.lisp
135 # parallel build fails
136 emake -j1 || die "emake failed"
137 }
138
139 src_install() {
140 pushd ${BUILDDIR}
141 make DESTDIR="${D}" prefix=/usr install-bin || die
142 doman clisp.1
143 dodoc SUMMARY README* NEWS MAGIC.add ANNOUNCE clisp.dvi clisp.html
144 chmod a+x "${D}"/usr/$(get_libdir)/clisp/clisp-link
145 popd
146 dohtml doc/impnotes.{css,html} ${BUILDDIR}/clisp.html doc/clisp.png
147 dodoc ${BUILDDIR}/clisp.ps doc/{editors,CLOS-guide,LISP-tutorial}.txt
148 }
149
150
151
152 --
153 gentoo-commits@g.o mailing list