bump wuala to loader2.jar
[ub0rlay.git] / net-p2p / wuala / wuala-1-r3.ebuild
1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 DESCRIPTION="Wuala, your free online hard-disk"
6 HOMEPAGE="http://wua.la/"
7 SRC_URI="http://files.wua.la/WualaLinux/wuala.tar.gz"
8
9 LICENSE="wuala"
10 SLOT="0"
11 KEYWORDS="~amd64 ~x86"
12 IUSE=""
13
14 DEPEND=""
15 RDEPEND=">=virtual/jre-1.5.0"
16
17 src_unpack() {
18         unpack ${A}
19         cd ${PN}
20         patch < ${FILESDIR}/${P}.patch
21         #patch < ${FILESDIR}/${P}.home.patch
22         #patch < ${FILESDIR}/${P}.cmd.patch
23 }
24
25 src_install() {
26         cd ${PN}
27         diropts -m2770
28         dodir /opt/${PN}
29         fowners root:users /opt/${PN}
30         
31         dodir /opt/${PN}/Data
32         dodir /opt/${PN}/direct
33         dodir /opt/${PN}/Prog4
34         
35         insinto /opt/${PN}
36         insopts -m660
37         doins loader.jar wuala.png
38
39         insinto /usr/share/apps/${PN}
40         insopts -m644
41         doins wuala.desktop
42         
43         exeinto /opt/${PN}
44         exeopts -m750
45         doexe wuala wualacmd
46         dosym /opt/${PN}/wuala /opt/bin/wuala
47         dosym /opt/${PN}/wualacmd /opt/bin/wualacmd
48         
49         dodoc readme.txt
50 }