blob: 1f21adf19da40d868a9a67bdefaa819d1d896d4e (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp java-pkg-2
MY_PN=${PN/-webclient/}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Transmit live video, audio and data over a TCP/IP network, as well as to control remote devices"
HOMEPAGE="http://www.fastpath.it/products/palantir/index.php"
SRC_URI="http://www.fastpath.it/products/${MY_PN}/pub/${MY_P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}/${MY_P}/clients/java
pkg_setup() {
webapp_pkg_setup
java-pkg-2_pkg_setup
}
src_compile() {
ejavac *.java || die "ejavac failed!"
jar cfm pclient.jar MANIFEST.MF *.class || die "jar failed!"
}
src_install() {
webapp_src_preinst
cp *.jar *.html "${D}/${MY_HTDOCSDIR}"
dodoc README TODO
webapp_postinst_txt en "${FILESDIR}/postinstall-en-2.6.txt"
webapp_src_install
}
|