add old ebuilds from svn ub0rlay
[ub0rlay.git] / net-p2p / wuala / wuala-1-r3.ebuild
blobab81b5bb4f3c051e266a199f425f48e9b9608a73
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="http://files.wua.la/WualaLinux/wuala.tar.gz"
9 LICENSE="wuala"
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 cd ${PN}
20 patch < ${FILESDIR}/${P}.patch
21 #patch < ${FILESDIR}/${P}.home.patch
22 #patch < ${FILESDIR}/${P}.cmd.patch
23 }
25 src_install() {
26 cd ${PN}
27 diropts -m2770
28 dodir /opt/${PN}
29 fowners root:users /opt/${PN}
31 dodir /opt/${PN}/Data
32 dodir /opt/${PN}/direct
33 dodir /opt/${PN}/Prog4
35 insinto /opt/${PN}
36 insopts -m660
37 doins loader.jar wuala.png
39 insinto /usr/share/apps/${PN}
40 insopts -m644
41 doins wuala.desktop
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
49 dodoc readme.txt
50 }