summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-01-05 12:48:23 +0000
committerJustin Lecher <jlec@gentoo.org>2015-01-05 12:48:23 +0000
commit965621ea0a97358d0d472c9376b8c55f9fcf3185 (patch)
treee91e08af89783c5e7510af502e6ab9e0bdba1320 /sci-libs/djbfft
parentmail-mta/nullmailer: Drop old, obsoletes #521552 & #532588 (diff)
downloadgentoo-2-965621ea0a97358d0d472c9376b8c55f9fcf3185.tar.gz
gentoo-2-965621ea0a97358d0d472c9376b8c55f9fcf3185.tar.bz2
gentoo-2-965621ea0a97358d0d472c9376b8c55f9fcf3185.zip
sci-libs/djbfft: Drop old
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/djbfft')
-rw-r--r--sci-libs/djbfft/ChangeLog5
-rw-r--r--sci-libs/djbfft/djbfft-0.76-r1.ebuild65
2 files changed, 4 insertions, 66 deletions
diff --git a/sci-libs/djbfft/ChangeLog b/sci-libs/djbfft/ChangeLog
index 36ae99abde75..6cbc2f7aa076 100644
--- a/sci-libs/djbfft/ChangeLog
+++ b/sci-libs/djbfft/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/djbfft
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/ChangeLog,v 1.28 2015/01/02 12:19:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/ChangeLog,v 1.29 2015/01/05 12:48:23 jlec Exp $
+
+ 05 Jan 2015; Justin Lecher <jlec@gentoo.org> -djbfft-0.76-r1.ebuild:
+ Drop old
02 Jan 2015; Agostino Sarubbo <ago@gentoo.org> djbfft-0.76-r2.ebuild:
Stable for sparc, wrt bug #526034
diff --git a/sci-libs/djbfft/djbfft-0.76-r1.ebuild b/sci-libs/djbfft/djbfft-0.76-r1.ebuild
deleted file mode 100644
index c5ceb3f33c84..000000000000
--- a/sci-libs/djbfft/djbfft-0.76-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/djbfft-0.76-r1.ebuild,v 1.9 2012/12/27 08:15:03 armin76 Exp $
-
-EAPI=4
-inherit eutils flag-o-matic toolchain-funcs multilib
-
-DESCRIPTION="Extremely fast library for floating-point convolution"
-HOMEPAGE="http://cr.yp.to/djbfft.html"
-SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE=""
-
-src_prepare() {
- SOVER="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
- # mask out everything, which is not suggested by the author (RTFM)!
- ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math"
- strip-flags
-
- use x86 && append-cflags -malign-double
-
- SONAME="libdjbfft.so.${SOVER}"
-
- epatch \
- "${FILESDIR}"/${P}-gcc3.patch \
- "${FILESDIR}"/${P}-shared.patch \
- "${FILESDIR}"/${P}-headers.patch
-
- sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c || die
- echo "$(tc-getCC) ${CFLAGS} -fPIC" > "conf-cc"
- echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld"
- echo "${ED}usr" > "conf-home"
- einfo "conf-cc: $(<conf-cc)"
-}
-
-src_compile() {
- emake \
- LIBDJBFFT=${SONAME} \
- LIBPERMS=0755 \
- ${SONAME}
- echo "the compile function was:"
- cat ./compile
- echo "the conf-ld function was:"
- cat ./conf-ld
-}
-
-src_test() {
- local t
- for t in accuracy accuracy2 speed; do
- emake ${t}
- einfo "Testing ${t}"
- LD_LIBRARY_PATH=. ./${t} > ${t}.out || die "test ${t} failed"
- done
-}
-
-src_install() {
- emake LIBDJBFFT=${SONAME} install
- ./install || die "install failed"
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so.${SOVER%%.*}
- dodoc CHANGES README TODO VERSION
-}