aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/meocloud-client-beta/meocloud-client-beta-0.2.29.ebuild')
-rw-r--r--net-misc/meocloud-client-beta/meocloud-client-beta-0.2.29.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-misc/meocloud-client-beta/meocloud-client-beta-0.2.29.ebuild b/net-misc/meocloud-client-beta/meocloud-client-beta-0.2.29.ebuild
new file mode 100644
index 0000000..d329ede
--- /dev/null
+++ b/net-misc/meocloud-client-beta/meocloud-client-beta-0.2.29.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils prefix versionator
+
+# This is a list of archs supported by this update.
+AT_AVAILABLE=( amd64 x86 )
+
+AT_amd64="https://meocloud.pt/binaries/linux/x86_64/meocloud-latest_x86_64_beta.tar.gz"
+AT_x86="https://meocloud.pt/binaries/linux/i386/meocloud-latest_i386_beta.tar.gz"
+
+DESCRIPTION="meocloud client"
+HOMEPAGE="https://meocloud.pt/downloads"
+
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+
+for d in "${AT_AVAILABLE[@]}"; do
+ SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")"
+ SRC_URI+=" )"
+done
+unset d
+
+src_unpack() {
+ if [ "${A}" != "" ]; then
+ mkdir -p ${S}
+ cd "${S}"
+ unpack ${A}
+ fi
+}
+
+src_install() {
+ cp -a ${S}/* ${D};
+}
+