Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gnu-smalltalk: ChangeLog gnu-smalltalk-3.2.1.ebuild
Date: Tue, 27 Jul 2010 15:33:30
Message-Id: 20100727153317.8C8362CE15@corvid.gentoo.org
1 jer 10/07/27 15:33:17
2
3 Modified: ChangeLog
4 Added: gnu-smalltalk-3.2.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.43 dev-lang/gnu-smalltalk/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 6 May 2010 16:11:07 -0000 1.42
23 +++ ChangeLog 27 Jul 2010 15:33:17 -0000 1.43
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/gnu-smalltalk
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.42 2010/05/06 16:11:07 vostorga Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.43 2010/07/27 15:33:17 jer Exp $
29 +
30 +*gnu-smalltalk-3.2.1 (27 Jul 2010)
31 +
32 + 27 Jul 2010; Jeroen Roovers <jer@g.o> +gnu-smalltalk-3.2.1.ebuild:
33 + Version bump.
34
35 06 May 2010; VĂ­ctor Ostorga <vostorga@g.o>
36 gnu-smalltalk-3.2.ebuild:
37
38
39
40 1.1 dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnu-smalltalk-3.2.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.1.ebuild,v 1.1 2010/07/27 15:33:17 jer Exp $
50
51 EAPI="0"
52
53 inherit elisp-common flag-o-matic eutils
54
55 DESCRIPTION="GNU Smalltalk"
56 HOMEPAGE="http://smalltalk.gnu.org"
57 SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz"
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="tk readline emacs gtk gmp"
62
63 DEPEND="sys-libs/gdbm
64 sys-apps/debianutils
65 dev-libs/libsigsegv
66 virtual/libffi
67 emacs? ( virtual/emacs )
68 readline? ( sys-libs/readline )
69 tk? ( dev-lang/tk )
70 gtk? ( =x11-libs/gtk+-2* )
71 gmp? ( dev-libs/gmp )"
72 RDEPEND=""
73
74 S="${WORKDIR}/smalltalk-${PV}"
75
76 SITEFILE=50gnu-smalltalk-gentoo.el
77
78 src_compile() {
79 replace-flags '-O3' '-O2'
80 econf \
81 --libdir=/usr/$(get_libdir) \
82 --with-system-libsigsegv \
83 --with-system-libffi \
84 --with-system-libltdl \
85 $(use_with emacs emacs) \
86 $(use_with readline readline) \
87 $(use_with gmp gmp) \
88 $(use_with tk tcl /usr/$(get_libdir)) \
89 $(use_with tk tk /usr/$(get_libdir)) \
90 $(use_enable gtk gtk)
91 emake || die "emake failed"
92 use emacs && elisp-compile *.el
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die
97 dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
98 if use emacs; then
99 elisp-install "${PN}" *.el *.elc
100 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
101 fi
102 fperms 0444 /usr/share/smalltalk/packages.xml
103 }
104
105 pkg_postinst() {
106 use emacs && elisp-site-regen
107 }
108
109 pkg_postrm() {
110 use emacs && elisp-site-regen
111 }