Permalink
Browse files

synced sci-libs/djbfft via auto-sync

  • Loading branch information...
1 parent ca89c2f commit 909e416ae5bbb00c0239a8aa71268078241881e0 @Vlooe Vlooe committed Apr 3, 2010
@@ -265,7 +265,7 @@ net-misc/openssh
# net-print/libgnomecups
# net-proxy/dante
# net-wireless/bluez
-# sci-libs/djbfft
+sci-libs/djbfft
# sys-apps/abi-wrapper
sys-apps/acl
sys-apps/attr
View
@@ -2,5 +2,5 @@ AUX djbfft-0.76-gcc3.patch 1176 RMD160 8c49fb74f011c329c13dcb7bbe7891d1f3d5a7aa
AUX djbfft-0.76-headers.patch 995 RMD160 67d48046060923882a40aab7d8b51962dc0a9c96 SHA1 c5403ccae24f90ba3dbe65b08c8145284691e309 SHA256 783ef6cf4b82af55efc6d038aa0fe2f76c81dcd52393444fa0ca438c9ebee483
AUX djbfft-0.76-shared.patch 3722 RMD160 a958cf5bf50e41240d5bb59d46da330ed31abbf2 SHA1 9e41f833045be02d8fb951d4df1944b27b50f23a SHA256 bbe7f027a29428265e44d4f966808b4d752c523c340d13d8f037233bc45e6ad1
DIST djbfft-0.76.tar.gz 80092 RMD160 46de3a7ed5d6ca4b245d02a12d969702e57f7381 SHA1 df9d258a75183c10592d937ee2d2befc01a8a0f6 SHA256 799d929c3631a77ef0e16a2449e4fc11af8540b62359f8733ac2899fca2b394c
-EBUILD djbfft-0.76-r1.ebuild 2100 RMD160 baedfe63e5d2aa9ac28e718e6a26d3d563b4af2e SHA1 0b9808dc2757e962b6b6524bc9d3da9839c25496 SHA256 bed542d260ba6139b764098e37bb0b10ca833739e6c329783641d8eb539dd6a5
-EBUILD djbfft-0.76.ebuild 1934 RMD160 e24e05b4f905262893254aadcbf5b9ca14c1b597 SHA1 37b792a0697f95a6de75f2cfe7f6d2430e2f1fa9 SHA256 391da32a7738bfd65f61263011911c645d6b8ccf7fe160f937fa5b9e2d197c57
+EBUILD djbfft-0.76-r1.ebuild 2027 RMD160 c0264fdc1109e2663170aa84fad932df6834af03 SHA1 a282fac2650ca3d66b512833f355dc722da3dbe0 SHA256 48df5a5a65dde7aeef0fa3247c8bc8da3f6d2de01004769ef99944287302ebc3
+EBUILD djbfft-0.76.ebuild 1886 RMD160 2c3c8a63f1bb0253fed2c923f599d62718896e98 SHA1 33825abad887b6457a84fbcbd26ab65f7e6ce080 SHA256 cc0934431124f2c13143b879beccd69697a0ea8544f9670ed7ca409caf882a64
@@ -2,8 +2,6 @@
# 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.1 2008/10/10 20:27:43 bicatali Exp $
-EAPI="2"
-
inherit eutils flag-o-matic toolchain-funcs multilib multilib-native
DESCRIPTION="Extremely fast library for floating-point convolution"
@@ -15,31 +13,28 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
-pkg_setup() {
+multilib-native_src_unpack_internal() {
MY_PV="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
MY_D="${D}usr"
- LIBPERMS="0755"
- LIBDJBFFT="libdjbfft.so.${MY_PV}"
-}
-
-multilib-native_src_prepare_internal() {
# mask out everything, which is not suggested by the author (RTFM)!
- ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math -m32 -m64"
+ ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math"
strip-flags
# why?
#MY_CFLAGS="${CFLAGS} -O1 -fomit-frame-pointer"
MY_CFLAGS="${CFLAGS}"
use x86 && MY_CFLAGS="${CFLAGS} -malign-double"
- cd "${S}"
+ LIBPERMS="0755"
+ LIBDJBFFT="libdjbfft.so.${MY_PV}"
+ unpack ${A}
+ cd "${S}"
epatch "${FILESDIR}/${P}-gcc3.patch"
epatch "${FILESDIR}/${P}-shared.patch"
epatch "${FILESDIR}/${P}-headers.patch"
- rm -f conf-cc conf-ld
sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c
echo "$(tc-getCC) $MY_CFLAGS -fPIC -DPIC" > "conf-cc"
echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld"
@@ -54,7 +49,7 @@ multilib-native_src_compile_internal() {
${LIBDJBFFT} || die "emake failed"
}
-multilib-native_src_test_internal() {
+src_test() {
for t in accuracy accuracy2 speed; do
emake ${t} || die "emake ${t} failed"
einfo "Testing ${t}"
@@ -2,8 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/djbfft-0.76.ebuild,v 1.10 2008/04/06 17:45:23 hollow Exp $
-EAPI="2"
-
inherit eutils flag-o-matic toolchain-funcs multilib multilib-native
DESCRIPTION="extremely fast library for floating-point convolution"
@@ -20,28 +18,25 @@ IUSE=""
# this point of the installation.
RESTRICT="test"
-pkg_setup() {
+multilib-native_src_unpack_internal() {
MY_PV="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
MY_D="${D}usr"
- LIBPERMS="0755"
- LIBDJBFFT="libdjbfft.so.${MY_PV}"
-}
-
-multilib-native_src_prepare_internal() {
# mask out everything, which is not suggested by the author (RTFM)!
- ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math -m32 -m64"
+ ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math"
strip-flags
MY_CFLAGS="${CFLAGS} -O1 -fomit-frame-pointer"
use x86 && MY_CFLAGS="${MY_CFLAGS} -malign-double"
- cd "${S}"
+ LIBPERMS="0755"
+ LIBDJBFFT="libdjbfft.so.${MY_PV}"
+ unpack ${A}
+ cd "${S}"
epatch "${FILESDIR}/${P}-gcc3.patch"
epatch "${FILESDIR}/${P}-shared.patch"
- rm -f conf-cc conf-ld
sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c
echo "$(tc-getCC) $MY_CFLAGS -fPIC -DPIC" > "conf-cc"
echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld"

0 comments on commit 909e416

Please sign in to comment.