summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-09-01 17:19:42 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-02 22:08:26 +0200
commit26ff451a2c5a81ed96112baac6d79d8f575e24d9 (patch)
tree26b7a7480f6be71ef040f0f76cc110483a137213 /sci-astronomy/galaxy
parentdev-db/postgresql-9.4.9-r0: add alpha keyword (diff)
downloadgentoo-26ff451a2c5a81ed96112baac6d79d8f575e24d9.tar.gz
gentoo-26ff451a2c5a81ed96112baac6d79d8f575e24d9.tar.bz2
gentoo-26ff451a2c5a81ed96112baac6d79d8f575e24d9.zip
sci-astronomy/galaxy: revbump (EAPI 4 -> 6)
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2181 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-astronomy/galaxy')
-rw-r--r--sci-astronomy/galaxy/galaxy-2.2-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild b/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild
new file mode 100644
index 00000000000..c99533d92d5
--- /dev/null
+++ b/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fdo-mime flag-o-matic toolchain-funcs
+
+# probably change every release
+PID="1/3/0/3/13035936"
+
+DESCRIPTION="Stellar simulation program"
+HOMEPAGE="http://www.kornelix.com/galaxy.html"
+SRC_URI="http://www.kornelix.com/uploads/${PID}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3"
+RDEPEND="${DEPEND}
+ x11-misc/xdg-utils"
+
+src_prepare() {
+ default
+ sed -e '/DOCDIR/ s/PROGRAM)/&-\$(VERSION)/g' \
+ -e '/xdg-desktop-menu/d' \
+ -i Makefile || die
+}
+
+src_configure() {
+ tc-export CXX
+ append-cxxflags -pthread
+ append-ldflags -pthread
+ export PREFIX="${EPREFIX}/usr"
+ default
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}