blob: 042f26115bd7c18d20e565482bfec8156ea93939 (
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.5.5180.ebuild,v 1.3 2004/07/14 13:53:25 agriffis 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=""
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"
}
|