blob: 7f0debe01a46bfbe8d3449dc7d8f3375737d7a2b (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="Password Safe in secure way with GUI interface"
HOMEPAGE="https://github.com/zdia/gorilla/wiki"
SRC_URI="https://github.com/zdia/gorilla/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="
>=dev-lang/tcl-8.5
>=dev-lang/tk-8.5
dev-tcltk/iwidgets
dev-tcltk/bwidget"
RDEPEND=${DEPEND}
src_prepare() {
sed -i 's:tclsh8.5:tclsh:' sources/gorilla.tcl || die 'Shebang fix sed failed'
}
src_configure() { :; }
src_compile() { :; }
src_install() {
PREFIX="/opt/${P}"
insinto ${PREFIX}
doins -r sources/itcl3.4 sources/msgs sources/pwsafe sources/twofish sources/blowfish sources/gorilla.tcl sources/isaac.tcl sources/modules sources/pics sources/tcllib sources/viewhelp.tcl
newicon -s 16 ${PREFIX}/pics/gorilla-16x16.gif gorilla.gif
newicon -s 32 ${PREFIX}/pics/gorilla-32x32.gif gorilla.gif
newicon -s 48 ${PREFIX}/pics/gorilla-48x48.gif gorilla.gif
newicon -s scalable ${PREFIX}/pics/vector-logo/gorilla-logo.svg gorilla.svg
make_desktop_entry "${PREFIX}/gorilla.txl" "Gorilla" "${PN}" "Security;Utility;"
domenu gorilla
}
|