blob: 807d3e3c7b8536313899bbd60d41589b4c0f916b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/cfitsio-2.430.ebuild,v 1.1 2003/01/05 05:51:19 george Exp $
IUSE=""
A="${PN}2430.tar.gz"
S="${WORKDIR}/${PN}"
DESCRIPTION="C and Fortran library for reading and writing files in FITS data format"
SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${A}"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~x86"
DEPEND="virtual/glibc"
#src_unpack() {
# unpack "${PN}2430.tar.gz"
# cd "${S}"
#}
src_compile() {
# ./configure \
# --host=${CHOST} \
# --prefix=/usr \
# --infodir=/usr/share/info \
# --mandir=/usr/share/man || die "./configure failed"
econf || die "./configure failed"
emake || die
}
src_install () {
cd ${S}
mkdir -p ${D}usr/lib
mkdir -p ${D}usr/include
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
FTOOLS_LIB=${D}usr/lib \
FTOOLS_INCLUDE=${D}usr/include \
install || die
dodoc changes.txt README
}
|