summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-05-08 22:14:35 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-05-08 22:14:35 +0000
commitd7bc1c88e4282f5e8da844a2f2288fe91b243760 (patch)
treee5e2b52258edc60e57b01847cf97a0e1b45e0d00 /app-sci
parentAdded no-redirect patch. Thanks to Jonathan Rogers <jonner@teegra.net>in bug ... (diff)
downloadgentoo-2-d7bc1c88e4282f5e8da844a2f2288fe91b243760.tar.gz
gentoo-2-d7bc1c88e4282f5e8da844a2f2288fe91b243760.tar.bz2
gentoo-2-d7bc1c88e4282f5e8da844a2f2288fe91b243760.zip
version bump to fix build error - bug 50487
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/udunits/ChangeLog8
-rw-r--r--app-sci/udunits/Manifest11
-rw-r--r--app-sci/udunits/files/digest-udunits-1.12.11
-rw-r--r--app-sci/udunits/files/udunits_customize.patch12
-rw-r--r--app-sci/udunits/metadata.xml7
-rw-r--r--app-sci/udunits/udunits-1.12.1.ebuild67
6 files changed, 100 insertions, 6 deletions
diff --git a/app-sci/udunits/ChangeLog b/app-sci/udunits/ChangeLog
index 07733070a896..a5e2b7eba384 100644
--- a/app-sci/udunits/ChangeLog
+++ b/app-sci/udunits/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-sci/udunits
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/ChangeLog,v 1.5 2004/04/25 22:57:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/ChangeLog,v 1.6 2004/05/08 22:14:35 nerdboy Exp $
+
+*udunits-1.12.1 (08 May 2004)
+
+ 08 May 2004; Steve Arnold <nerdboy@gentoo.org> metadata.xml,
+ udunits-1.12.1.ebuild:
+ new minor source rev bump to fix build error, fixed Fortran interface
25 Apr 2004; Aron Griffis <agriffis@gentoo.org> udunits-1.12.0.ebuild:
Add die following econf for bug 48950
diff --git a/app-sci/udunits/Manifest b/app-sci/udunits/Manifest
index df94996df7c6..2f86a7b7759b 100644
--- a/app-sci/udunits/Manifest
+++ b/app-sci/udunits/Manifest
@@ -1,7 +1,10 @@
MD5 e510a533bf5b32740a04f4074d8f8aaa udunits-1.12.0.ebuild 1872
-MD5 63af62c881561bff58044af1574843fb ChangeLog 789
-MD5 74fae2fe7f36e9290df846758328aa65 metadata.xml 369
-MD5 cea4faba4689abec3805139902ddd0d2 files/digest-udunits-1.12.0 65
-MD5 c4058b93662ad2beab9763c8120c85f4 files/udunits_master_mk.patch 1234
+MD5 27091ff20e413b7ad84e51abe3b9c929 ChangeLog 981
+MD5 176a9013a3fbf4d813fbe2ae5c54b409 metadata.xml 583
+MD5 e28acae1c39280da5b352aac4c4a71cb udunits-1.12.1.ebuild 1558
MD5 922ab296149176fd2c78ebf4654916ee files/udunits_configure_in.patch 241
MD5 5b85e692f66a2a74d7c4e1d74a729e23 files/udunits_lib_make.patch 895
+MD5 c4058b93662ad2beab9763c8120c85f4 files/udunits_master_mk.patch 1234
+MD5 cea4faba4689abec3805139902ddd0d2 files/digest-udunits-1.12.0 65
+MD5 3fdb828dd9ab28f5f06e2456b1c96c65 files/digest-udunits-1.12.1 65
+MD5 3dc5d09377cb0326220d293cec108569 files/udunits_customize.patch 375
diff --git a/app-sci/udunits/files/digest-udunits-1.12.1 b/app-sci/udunits/files/digest-udunits-1.12.1
new file mode 100644
index 000000000000..8885413df514
--- /dev/null
+++ b/app-sci/udunits/files/digest-udunits-1.12.1
@@ -0,0 +1 @@
+MD5 3d83c6bd9b0b0194bba13e8f1fb7e403 udunits-1.12.1.tar.Z 365873
diff --git a/app-sci/udunits/files/udunits_customize.patch b/app-sci/udunits/files/udunits_customize.patch
new file mode 100644
index 000000000000..a7a5f9bac79b
--- /dev/null
+++ b/app-sci/udunits/files/udunits_customize.patch
@@ -0,0 +1,12 @@
+--- CUSTOMIZE.orig 2004-05-08 14:04:53.199958510 -0700
++++ CUSTOMIZE 2004-05-08 13:58:48.843900138 -0700
+@@ -33,3 +33,9 @@
+ # Ancillary libraries. SunOS 4 user's might need something like the
+ # following in order to resolve strerror() in the perl/ subdirectory.
+ # LIBS='-L/usr/lang/SC3.0.1/lib -lansi'
++
++FC=g77
++CPPFLAGS=-Df2cFortran
++CC=gcc
++CXX=g++
++LD_MATH=-lm
diff --git a/app-sci/udunits/metadata.xml b/app-sci/udunits/metadata.xml
index 7a5a3969b610..a03757e28d2a 100644
--- a/app-sci/udunits/metadata.xml
+++ b/app-sci/udunits/metadata.xml
@@ -7,5 +7,10 @@
<name>Steve Arnold</name>
<description>Primary Maintainer</description>
</maintainer>
-<longdescription>Unidata units library and perl module.</longdescription>
+<longdescription>
+ This is the Unidata Units library, which supports conversion of unit
+ specifications between formatted and binary forms, arithmetic
+ manipulation of unit specifications, and conversion of values between
+ compatible scales of measurement.
+</longdescription>
</pkgmetadata>
diff --git a/app-sci/udunits/udunits-1.12.1.ebuild b/app-sci/udunits/udunits-1.12.1.ebuild
new file mode 100644
index 000000000000..baf28cca4c8e
--- /dev/null
+++ b/app-sci/udunits/udunits-1.12.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/udunits/udunits-1.12.1.ebuild,v 1.1 2004/05/08 22:14:35 nerdboy Exp $
+
+inherit eutils
+
+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 ~ppc ~sparc ~alpha ~mips ~hppa"
+
+DEPEND="dev-lang/perl"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/udunits_customize.patch || die "epatch failed"
+}
+
+src_compile() {
+ export CPPFLAGS="-Df2cFortran -D_POSIX_SOURCE"
+ econf || die "econf failed"
+
+ cd perl
+ perl Makefile.PL PREFIX=${D}/usr
+ cd ..
+
+ make || die
+ make 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
+}