diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /sci-libs/djbfft/djbfft-0.76-r2.ebuild | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'sci-libs/djbfft/djbfft-0.76-r2.ebuild')
-rw-r--r-- | sci-libs/djbfft/djbfft-0.76-r2.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild b/sci-libs/djbfft/djbfft-0.76-r2.ebuild deleted file mode 100644 index b631df7d2c3a..000000000000 --- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit epatch flag-o-matic toolchain-funcs multilib multilib-minimal - -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 arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="" -DOCS=( CHANGES README TODO VERSION ) - -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 - - SONAME="libdjbfft.so.${SOVER}" - - epatch \ - "${FILESDIR}"/${P}-gcc3.patch \ - "${FILESDIR}"/${P}-shared.patch \ - "${FILESDIR}"/${P}-headers.patch - multilib_copy_sources -} - -multilib_src_configure() { - [[ ${ABI} == x86* ]] && append-cflags -malign-double - - 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)" -} - -multilib_src_compile() { - emake \ - LIBDJBFFT=${SONAME} \ - LIBPERMS=0755 \ - ${SONAME} - echo "the compile function was:" - cat ./compile - echo "the conf-ld function was:" - cat ./conf-ld -} - -multilib_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 -} - -multilib_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%%.*} -} |