Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gnu-smalltalk: ChangeLog gnu-smalltalk-3.2.ebuild
Date: Thu, 06 May 2010 15:51:06
Message-Id: 20100506155059.DA5022C3FD@corvid.gentoo.org
1 vostorga 10/05/06 15:50:59
2
3 Modified: ChangeLog
4 Added: gnu-smalltalk-3.2.ebuild
5 Log:
6 Version bump, using econf in place of ./configure, fixes bundled copies of libltdl bug 277089
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.41 dev-lang/gnu-smalltalk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 4 Jan 2010 04:55:54 -0000 1.40
23 +++ ChangeLog 6 May 2010 15:50:59 -0000 1.41
24 @@ -1,6 +1,13 @@
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.40 2010/01/04 04:55:54 araujo Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.41 2010/05/06 15:50:59 vostorga Exp $
29 +
30 +*gnu-smalltalk-3.2 (06 May 2010)
31 +
32 + 06 May 2010; VĂ­ctor Ostorga <vostorga@g.o>
33 + +gnu-smalltalk-3.2.ebuild:
34 + Version bump, using econf in place of ./configure, fixes bundled copies of
35 + libltdl bug 277089
36
37 *gnu-smalltalk-3.1 (04 Jan 2010)
38
39
40
41
42 1.1 dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnu-smalltalk-3.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.ebuild,v 1.1 2010/05/06 15:50:59 vostorga Exp $
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 --prefix=/usr \
82 --libdir=/usr/$(get_libdir) \
83 --with-system-libsigsegv \
84 --with-system-libffi \
85 --with-system-libltdl \
86 $(use_with emacs emacs) \
87 $(use_with readline readline) \
88 $(use_with gmp gmp) \
89 $(use_with tk tcl /usr/$(get_libdir)) \
90 $(use_with tk tk /usr/$(get_libdir)) \
91 $(use_enable gtk gtk)
92 emake || die "emake failed"
93 use emacs && elisp-compile *.el
94 }
95
96 src_install() {
97 make DESTDIR="${D}" install || die
98 dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
99 if use emacs; then
100 elisp-install "${PN}" *.el *.elc
101 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
102 fi
103 fperms 0444 /usr/share/smalltalk/packages.xml
104 }
105
106 pkg_postinst() {
107 use emacs && elisp-site-regen
108 }
109
110 pkg_postrm() {
111 use emacs && elisp-site-regen
112 }