diff options
Diffstat (limited to 'net-misc/megasync')
-rw-r--r-- | net-misc/megasync/Manifest | 2 | ||||
-rw-r--r-- | net-misc/megasync/megasync-1.0.34.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest new file mode 100644 index 00000000..096cb446 --- /dev/null +++ b/net-misc/megasync/Manifest @@ -0,0 +1,2 @@ +DIST megasync_1.0.34_amd64.deb 1442268 SHA256 0bc7e977bf3d5bcc363eac8b6943f7fd24fe83db4470a9f63654567f9320a7ac SHA512 b4605a446bfb1cc3caefbafa3b7a92d57469f0405eedad284988e1acac14d432c97d21b03a97e65fe6b297af5efcb5c8ba4c10df98cd8d67d5fdd2627dca9471 WHIRLPOOL b90f1a83e98ae1f61ae0d072ef9eed801358ed68f8a43c999e7d922f73045af3e7b4793043d8fe2c0c946eb2ee3da56fa148c5e051d6bb978284a84ef6fef4ac +DIST megasync_1.0.34_i386.deb 1448156 SHA256 b2d94d3e448d2c92ff85912e104837f5517a2372813411511626f56ae3dafad4 SHA512 1a512ba9a46d0ad03ec8564409a87663d8f84b97be463ff9329e1129159b82925959bd334f414992360d336e1e48bee6f4637a5e3f9b929df21f7ba73dd3a527 WHIRLPOOL 0d7cf5177e7bb6ae3a3188514e7c5ebe3bd13450d78927167fd438e13cc0c55a5578b61be47978ba47e0e51f40763ca374bd27f9693ea1711cf400554e5b9722 diff --git a/net-misc/megasync/megasync-1.0.34.ebuild b/net-misc/megasync/megasync-1.0.34.ebuild new file mode 100644 index 00000000..6a7e9e2f --- /dev/null +++ b/net-misc/megasync/megasync-1.0.34.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils multilib unpacker + +DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app." +HOMEPAGE="http://mega.co.nz" +SRC_URI=" + x86? ( https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/i386/${PN}_${PV}_i386.deb ) + amd64? ( https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/amd64/${PN}_${PV}_amd64.deb ) + " + +LICENSE="MEGA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:4" +RDEPEND="${DEPEND} + dev-libs/openssl + dev-libs/libgcrypt + media-libs/libpng + net-dns/c-ares + dev-libs/crypto++ + app-arch/xz-utils" + +S="${WORKDIR}" + +src_unpack(){ + unpack ${A} + unpack ./data.tar.xz + rm -v control.tar.gz data.tar.xz debian-binary +} + +pkg_setup(){ + elog "This ebuild installs the binary for MEGAsync. If any problems," + elog "please, contact the MEGA team." +} + +src_install(){ + insinto / + doins -r usr + fperms +x /usr/bin/megasync + LIBCRYPTO=`equery f crypto++ | grep libcrypto++.so.0.0.0` + LIBDIR="${LIBCRYPTO%/*}" + dosym ${LIBDIR}/libcrypto++.so.0.0.0 ${LIBDIR}/libcrypto++.so.9 +} |