summaryrefslogtreecommitdiffstats
path: root/bc
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
commit9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch)
treeae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /bc
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'bc')
-rw-r--r--bc/.footprint.i68612
-rw-r--r--bc/.footprint.x86_6412
-rw-r--r--bc/.md5sum.i6861
-rw-r--r--bc/.md5sum.x86_641
-rwxr-xr-xbc/Pkgfile28
5 files changed, 54 insertions, 0 deletions
diff --git a/bc/.footprint.i686 b/bc/.footprint.i686
new file mode 100644
index 000000000..72679259d
--- /dev/null
+++ b/bc/.footprint.i686
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/bc
+-rwxr-xr-x root/root usr/bin/dc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/bc.info.gz
+-rw-r--r-- root/root usr/share/info/dc.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dc.1.gz
diff --git a/bc/.footprint.x86_64 b/bc/.footprint.x86_64
new file mode 100644
index 000000000..72679259d
--- /dev/null
+++ b/bc/.footprint.x86_64
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/bc
+-rwxr-xr-x root/root usr/bin/dc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/bc.info.gz
+-rw-r--r-- root/root usr/share/info/dc.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dc.1.gz
diff --git a/bc/.md5sum.i686 b/bc/.md5sum.i686
new file mode 100644
index 000000000..259ca3e24
--- /dev/null
+++ b/bc/.md5sum.i686
@@ -0,0 +1 @@
+d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz
diff --git a/bc/.md5sum.x86_64 b/bc/.md5sum.x86_64
new file mode 100644
index 000000000..259ca3e24
--- /dev/null
+++ b/bc/.md5sum.x86_64
@@ -0,0 +1 @@
+d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz
diff --git a/bc/Pkgfile b/bc/Pkgfile
new file mode 100755
index 000000000..5239c57b7
--- /dev/null
+++ b/bc/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Langage permettant le calcul arbitraire de précision
+# URL: http://ftp.gnu.org/gnu/bc/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=bc
+version=1.06
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz )
+
+
+
+build() {
+ # build package
+ cd $name-$version
+ sed -i '/PROTO.*readline/d' bc/scan.l
+ sed -i '/flex -I8/s/8//' configure
+ sed -i '/stdlib/a #include <string.h>' lib/number.c
+ sed -i 's/program.*save/static &/' bc/load.c
+ ./configure --prefix=/usr\
+ --with-readline\
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/share/info/dir
+}