summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-07-02 11:01:04 +0000
committerNaohiro Aota <naota@gentoo.org>2011-07-02 11:01:04 +0000
commit5f2fbd91f09bbdddf74df349b7aa65789a0bfef8 (patch)
tree5009e602d3e7ce60ca29f38655376d5d4812b5dc /net-misc
parentNew license for dropbox (diff)
downloadgentoo-2-5f2fbd91f09bbdddf74df349b7aa65789a0bfef8.tar.gz
gentoo-2-5f2fbd91f09bbdddf74df349b7aa65789a0bfef8.tar.bz2
gentoo-2-5f2fbd91f09bbdddf74df349b7aa65789a0bfef8.zip
New ebuild net-misc/dropbox.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dropbox/ChangeLog11
-rw-r--r--net-misc/dropbox/dropbox-1.2.13.ebuild40
-rw-r--r--net-misc/dropbox/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/dropbox/ChangeLog b/net-misc/dropbox/ChangeLog
new file mode 100644
index 000000000000..66a2d062b4b4
--- /dev/null
+++ b/net-misc/dropbox/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/dropbox
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.1 2011/07/02 11:01:04 naota Exp $
+
+*dropbox-1.2.13 (02 Jul 2011)
+
+ 02 Jul 2011; Naohiro Aota <naota@gentoo.org> +dropbox-1.2.13.ebuild,
+ +metadata.xml:
+ New ebuild net-misc/dropbox. Based on a ebuild written by
+ piotr.karbowski@gmail.com
+
diff --git a/net-misc/dropbox/dropbox-1.2.13.ebuild b/net-misc/dropbox/dropbox-1.2.13.ebuild
new file mode 100644
index 000000000000..bd7692f0f941
--- /dev/null
+++ b/net-misc/dropbox/dropbox-1.2.13.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.2.13.ebuild,v 1.1 2011/07/02 11:01:04 naota Exp $
+
+EAPI='3'
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)."
+HOMEPAGE="http://dropbox.com/"
+SRC_URI="x86? ( http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-${PV}.tar.gz )
+ amd64? ( http://dl-web.dropbox.com/u/17/dropbox-lnx.x86_64-${PV}.tar.gz )"
+
+LICENSE="CCPL-Attribution-NoDerivs-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
+QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
+
+DEPEND=""
+RDEPEND="net-misc/wget"
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}/.dropbox-dist" "${S}" || die
+}
+
+src_install() {
+ insinto /usr/share/icons
+ doins -r icons/* || die
+ rm -rf icons || die
+
+ local targetdir="/opt/dropbox"
+ insinto "${targetdir}" || die
+ doins -r * || die
+ fperms a+x "${targetdir}/dropbox" || die
+ fperms a+x "${targetdir}/dropboxd" || die
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" || die
+}
diff --git a/net-misc/dropbox/metadata.xml b/net-misc/dropbox/metadata.xml
new file mode 100644
index 000000000000..27592fe18ce2
--- /dev/null
+++ b/net-misc/dropbox/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+</pkgmetadata>