blob: c3e0f022a4f36c5b452e6966766b2facbeb7012f (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Squeak image file"
HOMEPAGE="http://www.squeak.org/"
SRC_URI="
http://ftp.squeak.org/4.6/Squeak4.6-15102.zip
http://ftp.squeak.org/4.6/SqueakV46.sources.zip"
LICENSE="Apache-2.0 MIT BitstreamVera"
SLOT="4.6"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip
dev-lang/squeakvm"
RDEPEND=""
S="${WORKDIR}"
src_compile() {
einfo "Compressing image/changes files."
gzip "Squeak4.6-15102.image"
gzip "Squeak4.6-15102.changes"
gzip "SqueakV46.sources"
einfo "done."
}
src_install() {
einfo 'Installing Image/Sources/Changes files.'
#dodoc ReadMe.txt
insinto "/usr/lib/squeak"
# install full image and changes file.
doins "Squeak4.6-15102.image.gz"
doins "Squeak4.6-15102.changes.gz"
# install sources
doins "SqueakV46.sources.gz"
}
pkg_postinst() {
elog "Squeak ${PV} image, changes and sources files installed in /usr/lib/squeak"
}
|