54555806ae730ffe611e848fc3d599f5b070122e
[ub0rlay.git] / net-p2p / wuala / wuala-1.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         patch < ${FILESDIR}/${P}.patch
20 }
21
22 src_install() {
23         diropts -m2770
24         dodir /opt/${PN}
25         fowners root:users /opt/${PN}
26         
27         dodir /opt/${PN}/Data
28         dodir /opt/${PN}/direct
29         dodir /opt/${PN}/Prog4
30         
31         insinto /opt/${PN}
32         insopts -m660
33         doins loader.jar Wuala.init wuala.png
34
35         insinto /usr/share/apps/${PN}
36         insopts -m644
37         doins wuala.desktop
38         
39         exeinto /opt/${PN}
40         exeopts -m750
41         doexe wuala wualacmd
42         dosym /opt/${PN}/wuala /opt/bin/wuala
43         dosym /opt/${PN}/wualacmd /opt/bin/wualacmd
44         
45         dodoc readme.txt
46 }