summaryrefslogtreecommitdiff
blob: 89cd8b13847f9f19b45998669770b4b2eef15d80 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak-fullimage/squeak-fullimage-3.5.5180.ebuild,v 1.4 2006/03/19 22:30:04 halcy0n Exp $

MAJOR=3
MINOR=5
RELEASE=5180

MM=${MAJOR}.${MINOR}
MMDOTR=${MM}.${RELEASE}
MMDASHR=${MM}-${RELEASE}

DESCRIPTION="Squeak image file"

HOMEPAGE="http://www.squeak.org/"

SRC_URI="ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${MM}/Squeak${MMDASHR}.zip
	ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${MM}/SqueakV3.sources.gz"

LICENSE="Apple"

SLOT="${MM}"

KEYWORDS="~x86"

IUSE=""

PROVIDE="virtual/squeak-image"

DEPEND="app-arch/unzip"

RDEPEND=""

S="${WORKDIR}"

src_compile() {
	einfo "Compressing Image/Changes files..."
	gzip Squeak${MMDASHR}.image
	gzip Squeak${MMDASHR}.changes
	einfo "done!"
}

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

	einfo "Squeak 3.5-5180 image/changes now installed"
}