summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-10 21:08:35 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-10 21:08:35 +0000
commitfc403de45004ba4d08221d11ef3576bb81de3644 (patch)
tree14c721b685e31848ab618cbe6bc9e40e91dba5d8 /sci-geosciences/xtide/xtide-2.13.ebuild
parentinitial import wrt #214868 (diff)
downloadhistorical-fc403de45004ba4d08221d11ef3576bb81de3644.tar.gz
historical-fc403de45004ba4d08221d11ef3576bb81de3644.tar.bz2
historical-fc403de45004ba4d08221d11ef3576bb81de3644.zip
initial import wrt #214868
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'sci-geosciences/xtide/xtide-2.13.ebuild')
-rw-r--r--sci-geosciences/xtide/xtide-2.13.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-geosciences/xtide/xtide-2.13.ebuild b/sci-geosciences/xtide/xtide-2.13.ebuild
new file mode 100644
index 000000000000..cae86eefc4e5
--- /dev/null
+++ b/sci-geosciences/xtide/xtide-2.13.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/xtide/xtide-2.13.ebuild,v 1.1 2013/02/10 21:08:30 hasufell Exp $
+
+EAPI=5
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="XTide provides tide and current predictions in a wide variety of formats"
+HOMEPAGE="http://www.flaterco.com/xtide/"
+SRC_URI="ftp://ftp.flaterco.com/xtide/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libpng:0
+ >=sci-geosciences/libtcd-2.2.5_p2
+ x11-libs/libX11
+ >=x11-libs/libXaw-1.0.3
+ >=x11-libs/libXpm-3.5.6
+ x11-libs/libXt"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dobin xtide tide xttpd
+ doman *.[18]
+
+ echo 'HFILE_PATH=/usr/share/harmonics/' > 50xtide_harm
+ doenvd 50xtide_harm
+
+ newicon -s 48 iconsrc/icon_48x48_orig.png ${PN}.png
+
+ make_desktop_entry ${PN} 'Tide prediction' ${PN} 'Science'
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}