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