summaryrefslogtreecommitdiff
blob: 4e02bb363f6e9dad33e0b80079e4475ac06fb793 (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 Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak-basicimage/squeak-basicimage-3.6.5429.ebuild,v 1.3 2004/06/24 22:56:58 agriffis Exp $

MY_P="Squeak3.6-5429"
DESCRIPTION="Squeak basic image file"
HOMEPAGE="http://www.squeak.org/"
SRC_URI="ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.6/${MY_P}-basic.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}-basic.image || die
	gzip ${MY_P}-basic.changes || die
	einfo "done!"
}

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

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