summaryrefslogtreecommitdiff
blob: 12bfd836cf3dfdabfa7e60bec21ff9bc10d68d7a (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-2004 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.6.5424.ebuild,v 1.3 2004/07/14 13:53:25 agriffis Exp $

MAJOR=3
MINOR=6
RELEASE=5424

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}-full.zip
	ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${MM}/SqueakV3.sources.gz"

LICENSE="Apple"

SLOT="${MM}"

KEYWORDS="~x86 ~ppc"

IUSE=""

PROVIDE="virtual/squeak-image"

DEPEND=""

RDEPEND=""

S=${WORKDIR}

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

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

	einfo "Squeak 3.6-5424 image/changes now installed"
}