/[gentoo-x86]/sci-astronomy/gasgano/gasgano-2.4.3.ebuild
Gentoo

Contents of /sci-astronomy/gasgano/gasgano-2.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 5 17:59:37 2012 UTC (2 years, 1 month ago) by bicatali
Branch: MAIN
Changes since 1.1: +2 -2 lines
keyword amd64-linux, x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/gasgano/gasgano-2.4.3.ebuild,v 1.1 2012/06/04 22:15:20 bicatali Exp $
4
5 EAPI=4
6 inherit eutils java-pkg-2
7
8 PDOC=VLT-PRO-ESO-19000-1932-V4
9
10 DESCRIPTION="ESO astronomical data file organizer"
11 HOMEPAGE="http://www.eso.org/sci/software/gasgano/"
12 SRC_URI="ftp://ftp.eso.org/pub/dfs/${PN}/${P}.tar.gz
13 doc? ( ${HOMEPAGE}/${PDOC}.pdf )"
14
15 LICENSE="Apache-1.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc"
19
20 DEPEND=">=virtual/jdk-1.6"
21 RDEPEND=">=virtual/jre-1.6
22 dev-java/gnu-regexp
23 dev-java/junit
24 dev-java/jal"
25
26 src_prepare() {
27 sed -i \
28 -e "s:BASE.*=.*:BASE=${EPREFIX}/usr/share/${PN}:" \
29 -e "s:/share/:/lib/:g" \
30 bin/gasgano || die
31 }
32
33 src_install() {
34 dobin bin/*
35 java-pkg_dojar share/*.jar
36 insinto /usr/share/${PN}
37 doins -r config
38 make_desktop_entry gasgano "Gasgano FITS Organizer"
39 if use doc; then
40 insinto /usr/share/doc/${PF}
41 newins "${DISTDIR}"/${PDOC}.pdf user-manual.pdf
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20