summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-16 00:02:19 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-16 00:02:19 +0000
commit6e02a0308f6e757b496e5b63dd8722b7fc527aa5 (patch)
tree596805015e7aa03faea9b0ec21491cf3fe8817fc /sys-devel/bc
parentmips stable (diff)
downloadgentoo-2-6e02a0308f6e757b496e5b63dd8722b7fc527aa5.tar.gz
gentoo-2-6e02a0308f6e757b496e5b63dd8722b7fc527aa5.tar.bz2
gentoo-2-6e02a0308f6e757b496e5b63dd8722b7fc527aa5.zip
old
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'sys-devel/bc')
-rw-r--r--sys-devel/bc/bc-1.06-r5.ebuild68
-rw-r--r--sys-devel/bc/files/digest-bc-1.06-r51
2 files changed, 0 insertions, 69 deletions
diff --git a/sys-devel/bc/bc-1.06-r5.ebuild b/sys-devel/bc/bc-1.06-r5.ebuild
deleted file mode 100644
index 1ce76ec40d2a..000000000000
--- a/sys-devel/bc/bc-1.06-r5.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r5.ebuild,v 1.21 2005/03/09 00:31:16 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Handy console-based calculator utility"
-HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
-SRC_URI="mirror://gnu/bc/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="readline static"
-
-RDEPEND="readline? ( >=sys-libs/readline-4.1
- >=sys-libs/ncurses-5.2 )"
-DEPEND="${RDEPEND}
- sys-devel/flex"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/bc-1.06-info-fix.diff
- epatch ${FILESDIR}/bc-1.06-readline42.diff
- sed -i -e '/^AR =/s:.*::' lib/Makefile.in
-
- # Command line arguments for flex changed from the old
- # 2.5.4 to 2.5.22, so fix configure if we are using the
- # new flex. Note that flex-2.5.4 prints 'flex version 2.5.4'
- # and flex-2.5.22 prints 'flex 2.5.22', bug #10546.
- # <azarah@gentoo.org> (23 Oct 2002)
- local flmajor="`flex --version | cut -d. -f1`"
- local flminor="`flex --version | cut -d. -f2`"
- local flmicro="`flex --version | cut -d. -f3`"
- if [ "${flmajor/flex* }" -ge 2 -a \
- "${flminor/flex* }" -ge 5 -a \
- "${flmicro/flex* }" -ge 22 ]
- then
- sed -i -e 's:flex -I8:flex -I:g' \
- configure
- fi
-}
-
-src_compile() {
- case ${ARCH} in
- ppc) filter-flags -O2;;
- x86) replace-flags -Os -O2;;
- amd64) replace-flags -O? -O0;;
- esac
- tc-export CC AR RANLIB
-
- local myconf=""
- use static && append-ldflags -static
- use readline && myconf="--with-readline"
- econf ${myconf} || die
- emake || die
-}
-
-src_install() {
- into /usr
- dobin bc/bc dc/dc || die
-
- doinfo doc/*.info
- doman doc/*.1
- dodoc AUTHORS FAQ NEWS README ChangeLog
-}
diff --git a/sys-devel/bc/files/digest-bc-1.06-r5 b/sys-devel/bc/files/digest-bc-1.06-r5
deleted file mode 100644
index e470cb55f0e4..000000000000
--- a/sys-devel/bc/files/digest-bc-1.06-r5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz 278926