summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-12-18 09:11:30 +0000
committerNaohiro Aota <naota@gentoo.org>2011-12-18 09:11:30 +0000
commit9b4e22c4c092398002500904949e40e4c42702c2 (patch)
treef08797e0b204597b2a5b13e9b568d91522b38e24 /net-misc/dropbox
parentDrop mips-irix, it never reached a state where keywords could be added to the... (diff)
downloadgentoo-2-9b4e22c4c092398002500904949e40e4c42702c2.tar.gz
gentoo-2-9b4e22c4c092398002500904949e40e4c42702c2.tar.bz2
gentoo-2-9b4e22c4c092398002500904949e40e4c42702c2.zip
Drop bundled libstdc++.so.6 #393125
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/ChangeLog7
-rw-r--r--net-misc/dropbox/dropbox-1.2.48-r1.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/net-misc/dropbox/ChangeLog b/net-misc/dropbox/ChangeLog
index e61a04a9bd15..5258271f1c53 100644
--- a/net-misc/dropbox/ChangeLog
+++ b/net-misc/dropbox/ChangeLog
@@ -1,6 +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.7 2011/11/16 02:46:06 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.8 2011/12/18 09:11:30 naota Exp $
+
+*dropbox-1.2.48-r1 (18 Dec 2011)
+
+ 18 Dec 2011; Naohiro Aota <naota@gentoo.org> +dropbox-1.2.48-r1.ebuild:
+ Drop bundled libstdc++.so.6 #393125
*dropbox-1.2.48 (16 Nov 2011)
diff --git a/net-misc/dropbox/dropbox-1.2.48-r1.ebuild b/net-misc/dropbox/dropbox-1.2.48-r1.ebuild
new file mode 100644
index 000000000000..a7d123321686
--- /dev/null
+++ b/net-misc/dropbox/dropbox-1.2.48-r1.ebuild
@@ -0,0 +1,60 @@
+# 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.48-r1.ebuild,v 1.1 2011/12/18 09:11:30 naota Exp $
+
+EAPI="4"
+
+inherit gnome2-utils
+
+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_DT_HASH="opt/${PN}/.*"
+QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
+QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
+
+DEPEND=""
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND=">=sys-devel/gcc-4.2.0
+ net-misc/wget"
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}/.dropbox-dist" "${S}" || die
+ rm "${S}"/libstdc++.so.6
+}
+
+src_install() {
+ dodoc README ACKNOWLEDGEMENTS
+ rm README ACKNOWLEDGEMENTS || die
+
+ local targetdir="/opt/dropbox"
+ insinto "${targetdir}"
+ doins -r *
+ fperms a+x "${targetdir}/dropbox"
+ fperms a+x "${targetdir}/dropboxd"
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+ insinto /usr/share
+ doins -r icons
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}