# ChangeLog for dev-libs/cfitsio
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/ChangeLog,v 1.8 2004/07/31 03:03:52 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/ChangeLog,v 1.9 2004/12/19 07:02:53 nerdboy Exp $
+
+*cfitsio-2.500 (18 Dec 2004)
+
+ 18 Dec 2004; Steve Arnold <nerdboy@gentoo.org> metadata.xml,
+ cfitsio-2.490.ebuild, +cfitsio-2.500.ebuild:
+ bumped 2.490 to x86 and added cleaned up 2.500 (bug 65654)
30 Jul 2004; Jon Hood <squinky86@gentoo.org> cfitsio-2.490.ebuild:
change virtual/glibc to virtual/libc
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/cfitsio-2.490.ebuild,v 1.2 2004/07/31 03:03:52 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/cfitsio-2.490.ebuild,v 1.3 2004/12/19 07:02:53 nerdboy Exp $
IUSE=""
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
DEPEND="virtual/libc"
src_install () {
dodir /usr/lib /usr/include
- sed -i -e "s:CFITSIO_LIB = /usr/lib:CFITSIO_LIB = ${D}/usr/lib:g" \
- -e "s:CFITSIO_INCLUDE = /usr/include:CFITSIO_INCLUDE = ${D}/usr/include:g" \
+ sed -i -e "s:CFITSIO_LIB = /usr/lib:CFITSIO_LIB = ${D}usr/lib:g" \
+ -e "s:CFITSIO_INCLUDE = /usr/include:CFITSIO_INCLUDE = ${D}usr/include:g" \
Makefile
make \
- prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
+ 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
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cfitsio/cfitsio-2.500.ebuild,v 1.1 2004/12/19 07:02:53 nerdboy Exp $
+
+inherit eutils
+
+IUSE="doc"
+
+DESCRIPTION="C and Fortran library for manipulating FITS files"
+HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
+SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~hppa ~alpha ~amd64 ~ppc ~ppc64"
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ econf --prefix=${D}usr || die "econf failed"
+ sed -i -e "s:CFITSIO_LIB = /usr/lib:CFITSIO_LIB = ${D}usr/lib:g" Makefile
+ sed -i -e "s:CFITSIO_INCLUDE = /usr/include:CFITSIO_INCLUDE = ${D}usr/include:g" Makefile
+ emake || die "make failed"
+ make shared fitscopy imcopy listhead
+}
+
+src_install () {
+ dodir /usr/lib /usr/include
+ einstall || die "einstall failed"
+ dobin fitscopy imcopy listhead
+ dodoc changes.txt README Licence.txt
+
+ if use doc; then
+ dodoc *.ps cookbook.*
+ fi
+}
--- /dev/null
+MD5 5447664f2948de94a180f447c2b15a5f cfitsio2500.tar.gz 2050459
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
+<maintainer><email>nerdboy@gentoo.org</email></maintainer>
</pkgmetadata>