sci-astronomy/gasgano - 2.4.8 (gentoo)

Search

Install

Install this version:

emerge -a =sci-astronomy/gasgano-2.4.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-astronomy/gasgano-2.4.8

Or alternatively:

emerge --autounmask-write -a =sci-astronomy/gasgano-2.4.8

Package Information

Description:
ESO astronomical data file organizer
Homepage:
https://www.eso.org/sci/software/gasgano.html
License:
Apache-1.1

Ebuild Details

Version EAPI Keywords Slot
2.4.8 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop java-pkg-2

PDOC=VLT-PRO-ESO-19000-1932-V4

DESCRIPTION="ESO astronomical data file organizer"
HOMEPAGE="https://www.eso.org/sci/software/gasgano.html"
SRC_URI="ftp://ftp.eso.org/pub/dfs/${PN}/${P}.tar.gz
	doc? ( https://www.eso.org/sci/software/gasgano/${PDOC}.pdf )"

LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"

DEPEND=">=virtual/jdk-1.8:*"
RDEPEND="
	>=virtual/jre-1.8:*
	dev-java/gnu-regexp:1
	dev-java/jal:0
	dev-java/junit:0
"

src_prepare() {
	java-pkg-2_src_prepare
	sed -i \
		-e "s:^BASE=\`pwd\`:BASE=${EPREFIX}/usr/share/${PN}:" \
		-e 's:$BASE/share/:$BASE/lib/:g' \
		bin/gasgano || die
}

src_install() {
	dobin bin/*
	java-pkg_dojar share/*.jar
	insinto /usr/share/${PN}
	doins -r config
	make_desktop_entry gasgano "Gasgano FITS Organizer"
	use doc && newdoc "${DISTDIR}"/${PDOC}.pdf user-manual.pdf
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-astronomy/gasgano | euse -E <flag> -p sci-astronomy/gasgano | euse -D <flag> -p sci-astronomy/gasgano

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

DEPEND

>=virtual/jdk-1.8:*

RDEPEND

	>=virtual/jre-1.8:*
	dev-java/gnu-regexp:1
	dev-java/jal:0
	dev-java/junit:0

Manifest for 2.4.8

Type File Size Source URLs
DIST VLT-PRO-ESO-19000-1932-V4.pdf 818369 bytes https://www.eso.org/sci/software/gasgano/VLT-PRO-ESO-19000-1932-V4.pdf
DIST gasgano-2.4.8.tar.gz 9211627 bytes ftp://ftp.eso.org/pub/dfs/gasgano/gasgano-2.4.8.tar.gz