summaryrefslogtreecommitdiff
blob: 9be3b18e49735c2ec06c5116686c4638c01480b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak-fullimage/squeak-fullimage-3.6.5429.ebuild,v 1.2 2004/05/12 16:20:54 jhhudso Exp $

MY_P="Squeak3.6-5429"
DESCRIPTION="Squeak full image file"
HOMEPAGE="http://www.squeak.org/"
SRC_URI="ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.6/${MY_P}-full.zip
	ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.6/SqueakV3.sources.gz"

LICENSE="Apple"
SLOT="3.6"
KEYWORDS="~x86 ~ppc"
IUSE=""
PROVIDE="virtual/squeak-image"

DEPEND=">=sys-apps/sed-4"

S=${WORKDIR}

src_compile() {
	einfo "Compressing Image/Changes files..."
	gzip ${MY_P}-full.image || die
	gzip ${MY_P}-full.changes || die
	einfo "done!"
}

src_install() {
	dodoc ReadMe.txt
	insinto /usr/lib/squeak
	doins ${MY_P}-full.changes.gz
	doins ${MY_P}-full.image.gz
	doins SqueakV3.sources
	dosym /usr/lib/squeak/${MY_P}-full.changes.gz \
		/usr/lib/squeak/squeak.changes.gz
	dosym /usr/lib/squeak/${MY_P}-full.image.gz \
		/usr/lib/squeak/squeak.image.gz

	einfo "Squeak ${PV} image/changes now installed"
}