summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-12-12 04:22:49 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-12-12 04:22:49 +0000
commita2474763c995bc7c71dd1a02fb6a13ce1a65cbe7 (patch)
tree1d4894341bbad659a7c8aef73a72d589437b0a74 /app-sci
parentbumped 4.4.8 to x86 and ppc and added 4.4.9 with nad 1.2 (diff)
downloadhistorical-a2474763c995bc7c71dd1a02fb6a13ce1a65cbe7.tar.gz
historical-a2474763c995bc7c71dd1a02fb6a13ce1a65cbe7.tar.bz2
historical-a2474763c995bc7c71dd1a02fb6a13ce1a65cbe7.zip
added latest 1.12.3 to ~arch
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/udunits/ChangeLog7
-rw-r--r--app-sci/udunits/Manifest22
-rw-r--r--app-sci/udunits/files/digest-udunits-1.12.31
-rw-r--r--app-sci/udunits/udunits-1.12.3.ebuild81
4 files changed, 95 insertions, 16 deletions
diff --git a/app-sci/udunits/ChangeLog b/app-sci/udunits/ChangeLog
index 68269cfbd64a..2b8928f7fda6 100644
--- a/app-sci/udunits/ChangeLog
+++ b/app-sci/udunits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-sci/udunits
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/ChangeLog,v 1.13 2004/12/11 18:52:14 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/ChangeLog,v 1.14 2004/12/12 04:22:49 nerdboy Exp $
+
+*udunits-1.12.3 (11 Dec 2004)
+
+ 11 Dec 2004; Steve Arnold <nerdboy@gentoo.org> +udunits-1.12.3.ebuild:
+ added latest 1.12.3 to ~arch
11 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> udunits-1.12.1.ebuild:
Stable on alpha.
diff --git a/app-sci/udunits/Manifest b/app-sci/udunits/Manifest
index 879b80a12659..3bf1ae01e8b3 100644
--- a/app-sci/udunits/Manifest
+++ b/app-sci/udunits/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3a7d30831e40b3a89db1131e37aaf403 ChangeLog 1728
+MD5 fc9a1a3e7b2c02399d06b6f49b9c90c3 ChangeLog 1865
+MD5 176a9013a3fbf4d813fbe2ae5c54b409 metadata.xml 583
MD5 ddfce36f93129e93d379bdda1cc19a00 udunits-1.12.0.ebuild 1853
MD5 c8f20b665cc398db1a0d42f95cb79201 udunits-1.12.1.ebuild 2005
-MD5 176a9013a3fbf4d813fbe2ae5c54b409 metadata.xml 583
-MD5 3fdb828dd9ab28f5f06e2456b1c96c65 files/digest-udunits-1.12.1 65
+MD5 d28dde8028db0a6c07319d851a7e4de8 udunits-1.12.3.ebuild 2008
MD5 cea4faba4689abec3805139902ddd0d2 files/digest-udunits-1.12.0 65
+MD5 3fdb828dd9ab28f5f06e2456b1c96c65 files/digest-udunits-1.12.1 65
MD5 922ab296149176fd2c78ebf4654916ee files/udunits_configure_in.patch 241
-MD5 c4058b93662ad2beab9763c8120c85f4 files/udunits_master_mk.patch 1234
-MD5 5b85e692f66a2a74d7c4e1d74a729e23 files/udunits_lib_make.patch 895
MD5 3dc5d09377cb0326220d293cec108569 files/udunits_customize.patch 375
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBu0HougEuf3OQ0akRAiyOAJ0SAM4bNDZmhIG1rWeo4i5KyuxfnACfRGD1
-0+pTCrI139HuoljyP5DnCaE=
-=fQHU
------END PGP SIGNATURE-----
+MD5 5b85e692f66a2a74d7c4e1d74a729e23 files/udunits_lib_make.patch 895
+MD5 c4058b93662ad2beab9763c8120c85f4 files/udunits_master_mk.patch 1234
+MD5 0704e3ec953527a8ee2b89a9ad3dae8c files/digest-udunits-1.12.3 65
diff --git a/app-sci/udunits/files/digest-udunits-1.12.3 b/app-sci/udunits/files/digest-udunits-1.12.3
new file mode 100644
index 000000000000..d0ab7e730f78
--- /dev/null
+++ b/app-sci/udunits/files/digest-udunits-1.12.3
@@ -0,0 +1 @@
+MD5 5f9283ac4a4edcecc6547355a4dadb38 udunits-1.12.3.tar.Z 422795
diff --git a/app-sci/udunits/udunits-1.12.3.ebuild b/app-sci/udunits/udunits-1.12.3.ebuild
new file mode 100644
index 000000000000..ac1b6c00e83e
--- /dev/null
+++ b/app-sci/udunits/udunits-1.12.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/udunits-1.12.3.ebuild,v 1.1 2004/12/12 04:22:49 nerdboy Exp $
+
+inherit eutils flag-o-matic
+
+IUSE=""
+
+S=${WORKDIR}/${P}/src
+SP=${WORKDIR}/${P}/src/perl
+DESCRIPTION="The UCAR/Unidata Units library"
+HOMEPAGE="http://www.unidata.ucar.edu/packages/udunits/"
+SRC_URI="ftp://unidata.ucar.edu/pub/udunits/udunits-${PV}.tar.Z"
+
+SLOT="0"
+LICENSE="UCAR-Unidata"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa"
+
+DEPEND="dev-lang/perl
+ sys-apps/sed"
+
+RDEPEND="dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/udunits_customize.patch || die "epatch failed"
+}
+
+src_compile() {
+ export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE"
+ append-flags -fPIC
+ econf || die "econf failed"
+
+ cd lib
+ emake || die
+ cd ..
+
+ cd perl
+ perl Makefile.PL PREFIX=${D}/usr
+ cd ..
+
+ emake || die
+ emake test || die
+}
+
+src_install() {
+ sed "s?/usr?${D}/usr?" Makefile > Makefile.install
+ emake -f Makefile.install install
+
+ dodir /etc /usr/share/man/man3 /usr/share/man/man3f
+
+ insinto /etc
+ insopts -m 644
+ doins lib/udunits.dat
+
+ insinto /usr/share/man/man3
+ doins lib/udunits.3
+ insinto /usr/share/man/man3f
+ doins lib/udunits.3f
+
+ cd perl
+ make PREFIX=${D}/usr install INSTALLSITEMAN1DIR=${D}/usr/share/man/man1
+ cd ..
+
+ find ${D} -type f -a \( -name perllocal.pod -o -name .packlist \
+ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+ find ${D} -type d -depth -exec rmdir {} 2>/dev/null ';'
+
+ chmod -R u+w ${D}/*
+
+ dodoc COPYRIGHT README RELEASE_NOTES VERSION CUSTOMIZE INSTALL
+}
+
+pkg_postinst() {
+ ewarn "This package requires a Fortran compiler for maximum utility."
+ ewarn "For now, make sure you have at least g77 for the f77 interface."
+ ewarn "The internal configure should detect many f77 compilers, however,"
+ ewarn "if you have the PG compiler you will need to change the above"
+ ewarn "preprocessor macro to something like -Dpgifortran."
+}