blob: 9f02057fdc209c3ad41a5075e8d19a57e6a23112 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="message board and file sharing client for freenet network"
HOMEPAGE="http://jtcfrost.sourceforge.net/"
MY_V="19-Jul-2007"
MY_P="${PN}-${MY_V}"
SRC_URI=" mirror://sourceforge/jtcfrost/${MY_P}-source.zip
mirror://sourceforge/jtcfrost/${MY_P}.zip"
RESTRICT="userpriv mirror"
LICENSE="GPL-2"
IUSE=""
SLOT="0"
KEYWORDS="~x86"
RDEPEND=">=virtual/jdk-1.5
|| ( net-p2p/freenet
net-p2p/freenet-bin )"
DEPEND=">=virtual/jdk-1.5
dev-java/ant
app-arch/unzip"
S="${WORKDIR}/${PN}-wot"
pkg_setup() {
enewgroup frost
}
src_unpack() {
unpack ${A}
cp -R lib ${S}/
}
src_compile() {
ant release
}
src_install() {
into /opt/frost
cp -R ${S}/build/dist/* ${D}/opt/frost/
fowners :frost /opt/frost /opt/frost/config /opt/frost/downloads /opt/frost/store /opt/frost/exec
}
pkg_postinst() {
chmod g+w -R /opt/frost/config /opt/frost/downloads /opt/frost/store /opt/frost/exec
einfo "Start frost with sh /opt/frost/frost.sh (you have to be in the frost-group)."
}
|