/[gentoo-x86]/dev-lang/squeak/squeak-3.7.7-r1.ebuild
Gentoo

Contents of /dev-lang/squeak/squeak-3.7.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Aug 10 16:03:42 2009 UTC (10 years, 2 months ago) by vostorga
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Cleaning out old, keeping latest ~ppc
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.7.7-r1.ebuild,v 1.5 2008/06/09 19:24:37 araujo Exp $
4
5 inherit base versionator fixheadtails eutils
6
7 MY_PV=$(replace_version_separator 2 '-')
8 DESCRIPTION="Highly-portable Smalltalk-80 implementation"
9 HOMEPAGE="http://www.squeak.org/"
10 SRC_URI="http://squeakvm.org/unix/release/Squeak-${MY_PV}.src.tar.gz"
11 LICENSE="Apple"
12 SLOT="0"
13 KEYWORDS="~x86"
14 IUSE="X mmx threads iconv"
15
16 DEPEND="X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXt )"
17 RDEPEND="${DEPEND}
18 virtual/squeak-image"
19
20 S="${WORKDIR}/Squeak-${MY_PV}"
21
22 src_unpack() {
23 base_src_unpack
24 cd ${S}
25 ht_fix_all
26 }
27
28 src_compile() {
29 local myconf=""
30 use X || myconf="--without-x"
31 use mmx && myconf="${myconf} --enable-mpg-mmx"
32 use threads && myconf="${myconf} --enable-mpg-pthread"
33 use iconv || myconf="${myconf} --disable-iconv"
34 cd ${S}
35 mkdir build
36 cd build
37 ../platforms/unix/config/configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 --with-ffi=x86-sysv \
42 ${myconf} || die "configure failed"
43 emake || die
44 }
45
46 src_install() {
47 cd ${S}/build
48 make ROOT=${D} docdir=/usr/share/doc/${PF} install || die
49 exeinto /usr/lib/squeak
50 doexe inisqueak
51 dosym /usr/lib/squeak/inisqueak /usr/bin/inisqueak
52 }
53
54 pkg_postinst() {
55 elog "Run 'inisqueak' to get a private copy of the squeak image."
56 }

  ViewVC Help
Powered by ViewVC 1.1.20