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