add old ebuilds from svn ub0rlay
[ub0rlay.git] / net-p2p / wuala / wuala-1.ebuild
blob54555806ae730ffe611e848fc3d599f5b070122e
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 patch < ${FILESDIR}/${P}.patch
22 src_install() {
23 diropts -m2770
24 dodir /opt/${PN}
25 fowners root:users /opt/${PN}
27 dodir /opt/${PN}/Data
28 dodir /opt/${PN}/direct
29 dodir /opt/${PN}/Prog4
31 insinto /opt/${PN}
32 insopts -m660
33 doins loader.jar Wuala.init wuala.png
35 insinto /usr/share/apps/${PN}
36 insopts -m644
37 doins wuala.desktop
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
45 dodoc readme.txt