summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 20:41:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 20:41:49 +0000
commitedaa70b4f4740f20ceffb7a7cfaf78f07299edf0 (patch)
tree2700d30996b4dd9ca07043a8f8661d363e6be008 /dev-libs
parentAdded "-x86" to the KEYWORDS so this can be removed from package.mask... (diff)
downloadgentoo-2-edaa70b4f4740f20ceffb7a7cfaf78f07299edf0.tar.gz
gentoo-2-edaa70b4f4740f20ceffb7a7cfaf78f07299edf0.tar.bz2
gentoo-2-edaa70b4f4740f20ceffb7a7cfaf78f07299edf0.zip
inherit eutils flag-o-matic; move variable setting and strip-flags into function
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/djbfft/ChangeLog6
-rw-r--r--dev-libs/djbfft/djbfft-0.76.ebuild34
2 files changed, 23 insertions, 17 deletions
diff --git a/dev-libs/djbfft/ChangeLog b/dev-libs/djbfft/ChangeLog
index e08bf1b8319b..3e938edd1caa 100644
--- a/dev-libs/djbfft/ChangeLog
+++ b/dev-libs/djbfft/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/djbfft
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/djbfft/ChangeLog,v 1.1 2004/03/11 07:33:36 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/djbfft/ChangeLog,v 1.2 2004/03/31 20:41:49 mr_bones_ Exp $
+
+ 31 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> djbfft-0.76.ebuild:
+ inherit eutils flag-o-matic; move variable setting and strip-flags into
+ function
*djbfft-0.76 (11 Mar 2004)
diff --git a/dev-libs/djbfft/djbfft-0.76.ebuild b/dev-libs/djbfft/djbfft-0.76.ebuild
index dfc8bb6d9929..c18c0d9a0b80 100644
--- a/dev-libs/djbfft/djbfft-0.76.ebuild
+++ b/dev-libs/djbfft/djbfft-0.76.ebuild
@@ -1,33 +1,35 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/djbfft/djbfft-0.76.ebuild,v 1.1 2004/03/11 07:33:36 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/djbfft/djbfft-0.76.ebuild,v 1.2 2004/03/31 20:41:49 mr_bones_ Exp $
+
+inherit eutils flag-o-matic
DESCRIPTION="djbfft is an extremely fast library for floating-point convolution"
HOMEPAGE="http://cr.yp.to/djbfft.html"
SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz"
-MY_PV="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
-MY_D="${D}usr"
-
SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86"
IUSE="static"
-# 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
+src_unpack() {
+ MY_PV="${PV:0:1}.${PV:2:1}.${PV:3:1}" # a.bc -> a.b.c
+ MY_D="${D}usr"
-if [ `use static` ]
-then
- LIBPERMS="0644"
- LIBDJBFFT="libdjbfft.a"
-else
- LIBPERMS="0755"
- LIBDJBFFT="libdjbfft.so.${MY_PV}"
-fi
+ # 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
+
+ if [ `use static` ]
+ then
+ LIBPERMS="0644"
+ LIBDJBFFT="libdjbfft.a"
+ else
+ LIBPERMS="0755"
+ LIBDJBFFT="libdjbfft.so.${MY_PV}"
+ fi
-src_unpack() {
unpack "${A}"
cd "${S}"
epatch "${FILESDIR}/${P}-gcc3.patch"