1 |
commit: b77f1bb421f5750627202a2568687277964eddf9 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 6 06:20:57 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 6 06:20:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77f1bb4 |
7 |
|
8 |
sci-libs/djbfft: drop 0.76-r2 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
sci-libs/djbfft/djbfft-0.76-r2.ebuild | 67 ----------------------------------- |
13 |
1 file changed, 67 deletions(-) |
14 |
|
15 |
diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild b/sci-libs/djbfft/djbfft-0.76-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index b631df7d2c3..00000000000 |
18 |
--- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,67 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit epatch flag-o-matic toolchain-funcs multilib multilib-minimal |
26 |
- |
27 |
-DESCRIPTION="Extremely fast library for floating-point convolution" |
28 |
-HOMEPAGE="http://cr.yp.to/djbfft.html" |
29 |
-SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="public-domain" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
34 |
-IUSE="" |
35 |
-DOCS=( CHANGES README TODO VERSION ) |
36 |
- |
37 |
-src_prepare() { |
38 |
- SOVER="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c |
39 |
- # mask out everything, which is not suggested by the author (RTFM)! |
40 |
- ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math" |
41 |
- strip-flags |
42 |
- |
43 |
- SONAME="libdjbfft.so.${SOVER}" |
44 |
- |
45 |
- epatch \ |
46 |
- "${FILESDIR}"/${P}-gcc3.patch \ |
47 |
- "${FILESDIR}"/${P}-shared.patch \ |
48 |
- "${FILESDIR}"/${P}-headers.patch |
49 |
- multilib_copy_sources |
50 |
-} |
51 |
- |
52 |
-multilib_src_configure() { |
53 |
- [[ ${ABI} == x86* ]] && append-cflags -malign-double |
54 |
- |
55 |
- sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c || die |
56 |
- echo "$(tc-getCC) ${CFLAGS} -fPIC" > "conf-cc" |
57 |
- echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld" |
58 |
- echo "${ED}usr" > "conf-home" |
59 |
- einfo "conf-cc: $(<conf-cc)" |
60 |
-} |
61 |
- |
62 |
-multilib_src_compile() { |
63 |
- emake \ |
64 |
- LIBDJBFFT=${SONAME} \ |
65 |
- LIBPERMS=0755 \ |
66 |
- ${SONAME} |
67 |
- echo "the compile function was:" |
68 |
- cat ./compile |
69 |
- echo "the conf-ld function was:" |
70 |
- cat ./conf-ld |
71 |
-} |
72 |
- |
73 |
-multilib_src_test() { |
74 |
- local t |
75 |
- for t in accuracy accuracy2 speed; do |
76 |
- emake ${t} |
77 |
- einfo "Testing ${t}" |
78 |
- LD_LIBRARY_PATH=. ./${t} > ${t}.out || die "test ${t} failed" |
79 |
- done |
80 |
-} |
81 |
- |
82 |
-multilib_src_install() { |
83 |
- emake LIBDJBFFT=${SONAME} install |
84 |
- ./install || die "install failed" |
85 |
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so |
86 |
- dosym ${SONAME} /usr/$(get_libdir)/libdjbfft.so.${SOVER%%.*} |
87 |
-} |