summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/bc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/bc')
-rw-r--r--abs/core-testing/bc/PKGBUILD31
-rw-r--r--abs/core-testing/bc/bc-1.06-info-dir-entry.patch11
-rw-r--r--abs/core-testing/bc/bc.install20
-rw-r--r--abs/core-testing/bc/build-fix.patch13
4 files changed, 0 insertions, 75 deletions
diff --git a/abs/core-testing/bc/PKGBUILD b/abs/core-testing/bc/PKGBUILD
deleted file mode 100644
index 1ecefa1..0000000
--- a/abs/core-testing/bc/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 58247 2009-11-06 14:41:31Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
-
-pkgname=bc
-pkgver=1.06
-pkgrel=7
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/bc/"
-license=('GPL')
-depends=('readline')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-install=bc.install
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
- build-fix.patch bc-1.06-info-dir-entry.patch)
-md5sums=('d44b5dddebd8a7a7309aea6c36fda117' 'fc7ecbd9e55ef04c6d3a495692626116'\
- 'b6fe9869830aca0d34badf810fe0cfb3')
-sha1sums=('c8f258a7355b40a485007c40865480349c157292' '3af67c59e2232b9329ff0c1cf49d1a8a1cf87cd7'\
- 'c15c2a301ba80cf4d3c03a6e164f4e57fa86e4a2')
-
-build() {
- CFLAGS="$CFLAGS -O3"
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/build-fix.patch" || return 1
- patch -p1 -i "${srcdir}/bc-1.06-info-dir-entry.patch" || return 1
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --infodir=/usr/share/info --with-readline || return 1
- make LEX="flex -I" || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/core-testing/bc/bc-1.06-info-dir-entry.patch b/abs/core-testing/bc/bc-1.06-info-dir-entry.patch
deleted file mode 100644
index 8c1344c..0000000
--- a/abs/core-testing/bc/bc-1.06-info-dir-entry.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- bc-1.06/doc/bc.info.info-dir-entry 2000-10-03 20:36:31.000000000 +0200
-+++ bc-1.06/doc/bc.info 2003-01-06 14:07:40.000000000 +0100
-@@ -1,5 +1,8 @@
- This is bc.info, produced by makeinfo version 4.0 from bc.texi.
-
-+START-INFO-DIR-ENTRY
-+* bc: (bc). Arbritrary precision calculator language.
-+END-INFO-DIR-ENTRY
- 
- File: bc.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
-
diff --git a/abs/core-testing/bc/bc.install b/abs/core-testing/bc/bc.install
deleted file mode 100644
index e1e2eaa..0000000
--- a/abs/core-testing/bc/bc.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(bc.info.gz dc.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
diff --git a/abs/core-testing/bc/build-fix.patch b/abs/core-testing/bc/build-fix.patch
deleted file mode 100644
index 98a4082..0000000
--- a/abs/core-testing/bc/build-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
---- bc-1.06/bc/scan.l 2000-09-13 22:25:47 +0400
-+++ bc-1.06.my/bc/scan.l 2006-12-25 12:39:34 +0300
-@@ -143,7 +143,9 @@
-
- /* Definitions for readline access. */
- extern FILE *rl_instream;
-+#if 0
- _PROTOTYPE(char *readline, (char *));
-+#endif
-
- /* rl_input puts upto MAX characters into BUF with the number put in
- BUF placed in *RESULT. If the yy input file is the same as