summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 15:47:01 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 15:47:01 +0200
commit9e4b755b0475eff5d2d8ce6c90e9ea3dafb54597 (patch)
tree6164588361f590dd7fd8c84b1189dcb776627967
parent4abf965c148577d811e1aad32b32bfd6ed332449 (diff)
downloadnutyx-extra-9e4b755b0475eff5d2d8ce6c90e9ea3dafb54597.tar.gz
nutyx-extra-9e4b755b0475eff5d2d8ce6c90e9ea3dafb54597.tar.bz2
nutyx-extra-9e4b755b0475eff5d2d8ce6c90e9ea3dafb54597.tar.xz
nutyx-extra-9e4b755b0475eff5d2d8ce6c90e9ea3dafb54597.zip
Ajout de bc#1.06-1
-rw-r--r--base/bc/.footprint12
-rw-r--r--base/bc/.md5sum1
-rwxr-xr-xbase/bc/Pkgfile28
3 files changed, 41 insertions, 0 deletions
diff --git a/base/bc/.footprint b/base/bc/.footprint
new file mode 100644
index 000000000..72679259d
--- /dev/null
+++ b/base/bc/.footprint
@@ -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/base/bc/.md5sum b/base/bc/.md5sum
new file mode 100644
index 000000000..259ca3e24
--- /dev/null
+++ b/base/bc/.md5sum
@@ -0,0 +1 @@
+d44b5dddebd8a7a7309aea6c36fda117 bc-1.06.tar.gz
diff --git a/base/bc/Pkgfile b/base/bc/Pkgfile
new file mode 100755
index 000000000..5239c57b7
--- /dev/null
+++ b/base/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
+}