blob: 77621fd11a34f1196b1e9b3b482fa9c7b61aff9c (
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
|
# Copyright 1999-2007 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.8.6665.ebuild,v 1.3 2007/02/06 09:05:08 genone Exp $
MY_P="Squeak3.8-6665"
DESCRIPTION="Squeak full image file"
HOMEPAGE="http://www.squeak.org/"
SRC_URI="http://ftp.squeak.org/current_stable/${MY_P}-full.zip
http://ftp.squeak.org/current_stable/SqueakV3.sources.gz"
LICENSE="Apple"
SLOT="3.8"
KEYWORDS="~x86"
IUSE=""
PROVIDE="virtual/squeak-image"
DEPEND="app-arch/unzip"
RDEPEND=""
S="${WORKDIR}"
src_compile() {
einfo "Compressing image/changes files."
gzip ${MY_P}full.image
gzip ${MY_P}full.changes
einfo "done."
}
src_install() {
einfo 'Installing Image/Sources/Changes files.'
dodoc ReadMe.txt
insinto /usr/lib/squeak
# install full image and changes file.
doins ${MY_P}full.image.gz
doins ${MY_P}full.changes.gz
# install sources
doins SqueakV3.sources
# create symlinks to the changes and image files.
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
}
pkg_postinst() {
elog "Squeak ${PV} image, changes and sources files installed in /usr/lib/squeak"
}
|