diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2011-04-03 06:50:56 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2011-04-03 06:50:56 +0000 |
commit | d33fd210d2d09aef75387fd441598e1c0fbda7b6 (patch) | |
tree | 83bc645bc9153a325bd687dca4fbac86f9c4da8c /media-radio | |
parent | Cleanup (diff) | |
download | historical-d33fd210d2d09aef75387fd441598e1c0fbda7b6.tar.gz historical-d33fd210d2d09aef75387fd441598e1c0fbda7b6.tar.bz2 historical-d33fd210d2d09aef75387fd441598e1c0fbda7b6.zip |
Moved from Sunrise
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/wspr/ChangeLog | 45 | ||||
-rw-r--r-- | media-radio/wspr/Manifest | 14 | ||||
-rw-r--r-- | media-radio/wspr/metadata.xml | 9 | ||||
-rw-r--r-- | media-radio/wspr/wspr-2.00.ebuild | 75 |
4 files changed, 143 insertions, 0 deletions
diff --git a/media-radio/wspr/ChangeLog b/media-radio/wspr/ChangeLog new file mode 100644 index 000000000000..dc4e681398ca --- /dev/null +++ b/media-radio/wspr/ChangeLog @@ -0,0 +1,45 @@ +# ChangeLog for media-radio/wspr +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/ChangeLog,v 1.1 2011/04/03 06:50:56 tomjbe Exp $ + +*wspr-2.00 (03 Apr 2011) + + 03 Apr 2011; Thomas Beierlein <tomjbe@gentoo.org> +wspr-2.00.ebuild, + +metadata.xml: + Moved from sunrise + + 14 Mar 2011; Justin Lecher <jlec@gentoo.org> wspr-2.00.ebuild: + Removed almost deprecated fortran.eclass + + 01 Apr 2010; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + fix for changes in python.eclass + + 25 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> metadata.xml: + fix metadata.xml + + 22 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + use fortran.eclass + + 21 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + added dependency on gcc[fortran] + + 20 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + Simplify MY_P. Thanks Tommy[D] + + 20 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + simplify sed expression + + 20 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-2.00.ebuild: + added || die to insinto + + 19 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> -wspr-1.12.ebuild, + +wspr-2.00.ebuild: + Version bump + + 17 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> wspr-1.12.ebuild: + fix minor configuration problem + + 03 Nov 2009; Thomas Beierlein (TomJBE) <tb@forth-ev.de> +wspr-1.12.ebuild, + +metadata.xml: + New ebuild for bug 291186. Thanks Tommy[D] for thorough review and help. + diff --git a/media-radio/wspr/Manifest b/media-radio/wspr/Manifest new file mode 100644 index 000000000000..4950ffe6ab4f --- /dev/null +++ b/media-radio/wspr/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST wspr-2.00.r1714.tgz 2096056 RMD160 71bc7ca20157a09cd3b837c822e18b3474685007 SHA1 d5f70e6118d8550c02d695adc76bbeed4c8c1a0e SHA256 6a0e13f354d4e228337ee550851f36027281e268385961505a6757fda1ffc423 +EBUILD wspr-2.00.ebuild 1851 RMD160 f5d96f88ad907846345a765eb40aa18d35c08da8 SHA1 588a1db1424d52124c3a2f96a68f505a6084c045 SHA256 64dc2de57acec993d6f509a65daacdcc0445e25507a9b79a4522cd6cb2a1617f +MISC ChangeLog 1575 RMD160 0a3d3e72fa1e3ee3f19bcafd11bb74a479a2b152 SHA1 5ef86da8632538c65e2c767163d666a0a5c32928 SHA256 b0539eb39a9d36bf9554d2499f4cc46ac3a604a14fb57aea13c7ad6037cf1e35 +MISC metadata.xml 258 RMD160 8dcd1b5ec7d563929e9bf5342287ac1bca5e2263 SHA1 a1e9f2c99c641f6c286b195e83d3236192d0499a SHA256 2d835c209f29ece6f3fee582b932a53ad40047911b35d4950e21da63da4f856f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2YGNwACgkQQe4uqXYgU9XylgCggaNtS2xTxkqZvcUbKjVF6WNq +WfcAoJRDRdOTw2BVaUYZ5nVAM/JdINvJ +=VPFf +-----END PGP SIGNATURE----- diff --git a/media-radio/wspr/metadata.xml b/media-radio/wspr/metadata.xml new file mode 100644 index 000000000000..f6bf5297750d --- /dev/null +++ b/media-radio/wspr/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>tomjbe@gentoo.org</email> + <name>Thomas Beierlein</name> +</maintainer> +</pkgmetadata> diff --git a/media-radio/wspr/wspr-2.00.ebuild b/media-radio/wspr/wspr-2.00.ebuild new file mode 100644 index 000000000000..073bebf09eba --- /dev/null +++ b/media-radio/wspr/wspr-2.00.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/wspr/wspr-2.00.ebuild,v 1.1 2011/04/03 06:50:56 tomjbe Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" +inherit autotools distutils flag-o-matic multilib python toolchain-funcs + +MY_P=${P}.r1714 + +DESCRIPTION="Weak Signal Propagation Reporter" +HOMEPAGE="http://www.physics.princeton.edu/pulsar/K1JT/wspr.html" +SRC_URI="http://www.physics.princeton.edu/pulsar/K1JT/${MY_P}.tgz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/python[tk] + dev-python/numpy + dev-python/imaging[tk] + dev-python/pmw + sci-libs/fftw:3.0 + media-libs/hamlib + media-libs/portaudio + media-libs/libsamplerate" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +get_fcomp() { + case $(tc-getFC) in + *gfortran* ) + FCOMP="gfortran" ;; + * ) + FCOMP=$(tc-getFC) ;; + esac +} + +src_prepare() { + tc-export FC + get_fcomp + export FC="${FCOMP}" + # upstream confused LIBDIRS with LDFLAGS in Makefile. f2py wants only + # LIBDIRS as parameter and takes LDFLAGS only from environment. + sed -i \ + -e "s/LDFLAGS/LIBDIRS/g" \ + Makefile.in || die "sed failed" + + # drop hardcoded libdir path, + # switch LDFLAGS naming to LIBDIRS (see above comment). + sed -i -e "s/, f2py/, f2py$(python_get_version)/" \ + -e "s:-L/usr/local/lib:-L/usr/$(get_libdir):" \ + -e "s/LDFLAGS/LIBDIRS/g" \ + configure.ac || die "sed failed" + eautoreconf +} + +src_compile() { + # -shared is neded by f2py but cannot be set earlier as configure does + # not like it + append-ldflags -shared + emake || die "emake failed." +} + +src_install() { + rm -rf build || die "removing build directory failed" + distutils_src_install + dobin wspr || die "dobin failed" + dodoc BUGS WSPR_*.TXT || die "dodoc failed" + insinto /usr/share/${PN} + doins hamlib_rig_numbers || die "doins failed" +} |