| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/cdsclient/cdsclient-3.6b.ebuild,v 1.1 2011/09/23 17:35:12 xarthisius Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit eutils versionator
|
| 8 |
|
| 9 |
DESCRIPTION="Collection of scripts to access the CDS databases"
|
| 10 |
HOMEPAGE="http://cdsweb.u-strasbg.fr/doc/cdsclient.html"
|
| 11 |
SRC_URI="ftp://cdsarc.u-strasbg.fr/pub/sw/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="as-is"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND=""
|
| 19 |
RDEPEND="app-shells/tcsh"
|
| 20 |
|
| 21 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
|
| 22 |
|
| 23 |
src_prepare() {
|
| 24 |
epatch "${FILESDIR}"/${PN}-gentoo.diff
|
| 25 |
# remove non standard "mantex" page
|
| 26 |
sed -i \
|
| 27 |
-e 's/aclient.tex//' \
|
| 28 |
"${S}"/configure || die
|
| 29 |
}
|