diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-15 08:29:31 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-15 08:29:31 +0000 |
commit | 39240ecd0ebb1773b6ec2c0c1a88bc337241cb4b (patch) | |
tree | 7cc74d4da9f44096cfe87d70602f108c270e2ba2 /dev-libs/libjwc_f | |
parent | Stable on amd64 wrt bug #322159 (diff) | |
download | gentoo-2-39240ecd0ebb1773b6ec2c0c1a88bc337241cb4b.tar.gz gentoo-2-39240ecd0ebb1773b6ec2c0c1a88bc337241cb4b.tar.bz2 gentoo-2-39240ecd0ebb1773b6ec2c0c1a88bc337241cb4b.zip |
Moved x11-libs/libjwc_f to dev-libs/libjwc_f part one
Diffstat (limited to 'dev-libs/libjwc_f')
-rw-r--r-- | dev-libs/libjwc_f/ChangeLog | 13 | ||||
-rw-r--r-- | dev-libs/libjwc_f/Manifest | 15 | ||||
-rw-r--r-- | dev-libs/libjwc_f/files/612-gentoo.patch | 100 | ||||
-rw-r--r-- | dev-libs/libjwc_f/libjwc_f-1.1-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/libjwc_f/metadata.xml | 8 |
5 files changed, 171 insertions, 0 deletions
diff --git a/dev-libs/libjwc_f/ChangeLog b/dev-libs/libjwc_f/ChangeLog new file mode 100644 index 000000000000..4ffe63470e72 --- /dev/null +++ b/dev-libs/libjwc_f/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for x11-libs/libjwc_f +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjwc_f/ChangeLog,v 1.1 2010/06/15 08:29:31 jlec Exp $ + + 29 Mar 2010; Justin Lecher <jlec@gentoo.org> libjwc_f-1.1-r1.ebuild: + Keyworded for ~x86-linux ~amd64-linux + +*libjwc_f-1.1-r1 (02 Feb 2010) + + 02 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +files/612-gentoo.patch, +libjwc_f-1.1-r1.ebuild, +metadata.xml: + Split library from ccp4 package + diff --git a/dev-libs/libjwc_f/Manifest b/dev-libs/libjwc_f/Manifest new file mode 100644 index 000000000000..86adc4cd0963 --- /dev/null +++ b/dev-libs/libjwc_f/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 612-gentoo.patch 2779 RMD160 8ea985d29ed03a5d7106b8f475ba629d523dc62f SHA1 b62d1c805455e69add3d457f78bfb897ea1a3801 SHA256 1320119153eb08c7bba844c7c320d9d63758ba2d816ad61c11b5ca2c65ef975e +DIST libjwc_f-1.1.tar.gz 170973 RMD160 9fc0fc38aafa1611c13dfd963b903f4bd901e436 SHA1 f68c54e6062fec63f71eb612689626b4efc2e642 SHA256 9c05d5bac2a2e75d5fd490665c795ae31280da886e30f66cf39b3a32f2981199 +EBUILD libjwc_f-1.1-r1.ebuild 719 RMD160 659e9dd28a3c6833c9c9e3a37e8d0c4bc3377730 SHA1 92a13e16da4e33662c2551b0e7a90609253c4c97 SHA256 d3fa8447e63b7ffaaa69e905ecb6a3456817730cd6ef106b06b6b5175b73a96a +MISC ChangeLog 505 RMD160 9baaa067285ad145753154e8021bd6713d7d8829 SHA1 225b08183f3aeedcf3c4dfbbb88df4a576646bed SHA256 d27c9f5e04619a9d762f73f6c811f96f9f95fee133ba91c0a8cbe4688f107888 +MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkuxAMkACgkQgAnW8HDreRYqpACcDBZHOVQtVHpHPxOfKfnD2sKO +EckAnR3+v6j6T6qimytPlN6hOFnd2EYb +=IXBx +-----END PGP SIGNATURE----- diff --git a/dev-libs/libjwc_f/files/612-gentoo.patch b/dev-libs/libjwc_f/files/612-gentoo.patch new file mode 100644 index 000000000000..e687d8bec6ea --- /dev/null +++ b/dev-libs/libjwc_f/files/612-gentoo.patch @@ -0,0 +1,100 @@ +diff -Nu libjwc_f-1.1/configure.in ccp4-6.1.2/x-windows/libjwc/libjwc_f/configure.in +--- libjwc_f-1.1/configure.in 1999-10-21 16:07:14.000000000 +0200 ++++ ccp4-6.1.2/x-windows/libjwc/libjwc_f/configure.in 2004-03-11 17:31:45.000000000 +0100 +@@ -8,6 +8,7 @@ + AC_CANONICAL_SYSTEM + + AM_INIT_AUTOMAKE(libjwc_f, 1.1) ++AM_MAINTAINER_MODE + + case ${with_g77} in + "yes" ) CC="gcc" GCC=yes F77=g77 ;; +@@ -17,7 +18,7 @@ + AC_PROG_F77 + + AC_PROG_INSTALL +-AC_PROG_RANLIB ++AC_PROG_LIBTOOL + + case "$target" in + *irix6* ) +@@ -26,8 +27,9 @@ + case "$FFLAGS" in + *-64* ) ;; # assume they meant it + *-o32* | *-32* ) ;; # presumably OK +- * ) FFLAGS="$FFLAGS -o32 -O -g3" +- CFLAGS=-32 ++ *-n32* ) ;; ++ * ) FFLAGS="$FFLAGS -n32 -O -g3" ++ CFLAGS=-n32 + AC_MSG_WARN([ + + *** Using compiler flag -o32 for probable compatibility with +@@ -47,8 +49,33 @@ + *** See the INSTALL file for more info. + ]) + fi ;; ++ *linux* ) ++ case $F77 in ++ g77*) ++ case "$FFLAGS" in ++ *no-second-underscore* ) ;; # presumably OK ++ * ) FFLAGS="$FFLAGS -fno-second-underscore -fno-globals" ;; ++ esac ++ esac ;; ++ *darwin* ) ++ case $F77 in ++ g77*) ++ case "$FFLAGS" in ++ *no-second-underscore* ) ;; # presumably OK ++ * ) FFLAGS="$FFLAGS -fno-second-underscore -fno-globals" ;; ++ esac ++#mac g77 currently goes not handle -fno-common ++ enable_shared=no; ++ esac ;; + * ) + esac ++# efc, version 7.1 at least does not support soname, so use CC ++case "$F77" in ++ *efc ) F77LD=${F77LD:-'${CC}'} ;; ++ * ) F77LD=${F77LD:-'${F77}'} ++esac ++ ++AC_SUBST(F77LD) + + AM_PROG_LIBTOOL + +Common subdirectories: libjwc_f-1.1/doc and ccp4-6.1.2/x-windows/libjwc/libjwc_f/doc +diff -Nu libjwc_f-1.1/opn_scr.f ccp4-6.1.2/x-windows/libjwc/libjwc_f/opn_scr.f +--- libjwc_f-1.1/opn_scr.f 1999-09-07 12:50:13.000000000 +0200 ++++ ccp4-6.1.2/x-windows/libjwc/libjwc_f/opn_scr.f 2000-10-25 13:03:09.000000000 +0200 +@@ -16,6 +16,6 @@ + C + C====== Open the file + C +- OPEN (IUN_SCR, STATUS='SCRATCH') +- RETURN ++C OPEN (IUN_SCR, STATUS='SCRATCH') ++ CALL CCPDPN(IUN_SCR,'JWCSCR','SCRATCH','U',0, IFAIL) + END +diff -Nu libjwc_f-1.1/rpf_dstar.f ccp4-6.1.2/x-windows/libjwc/libjwc_f/rpf_dstar.f +--- libjwc_f-1.1/rpf_dstar.f 1999-07-09 13:39:38.000000000 +0200 ++++ ccp4-6.1.2/x-windows/libjwc/libjwc_f/rpf_dstar.f 2004-06-04 12:10:59.000000000 +0200 +@@ -376,7 +376,8 @@ + INR_FLAG = 2 + PHIW = 0.0 + END IF +- ELSE ++ RETURN ++ ENDIF + C + C---- Calculate distance of edge of spot from sphere at end of rotation + Crotgen.for +@@ -418,7 +419,6 @@ + INR_FLAG = 4 + 40 RETURN + END IF +- END IF + END IF + RETURN + END diff --git a/dev-libs/libjwc_f/libjwc_f-1.1-r1.ebuild b/dev-libs/libjwc_f/libjwc_f-1.1-r1.ebuild new file mode 100644 index 000000000000..d17034666e80 --- /dev/null +++ b/dev-libs/libjwc_f/libjwc_f-1.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjwc_f/libjwc_f-1.1-r1.ebuild,v 1.1 2010/06/15 08:29:31 jlec Exp $ + +EAPI="2" + +inherit autotools eutils fortran + +FORTRAN="g77 gfortran ifc" + +PATCH="612" + +DESCRIPTION="additional c library for ccp4" +HOMEPAGE="http://www.ccp4.ac.uk/main.html" +SRC_URI="ftp://ftp.ccp4.ac.uk/jwc/${P}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="" +RDEPEND="" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PATCH}-gentoo.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README + dohtml doc/* +} diff --git a/dev-libs/libjwc_f/metadata.xml b/dev-libs/libjwc_f/metadata.xml new file mode 100644 index 000000000000..efb490d78817 --- /dev/null +++ b/dev-libs/libjwc_f/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>sci@gentoo.org</email> +</maintainer> +</pkgmetadata> |