summaryrefslogtreecommitdiffstats
path: root/bc/Pkgfile.old
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 11:35:12 +0100
committerLukc <lukc@upyum.com>2010-12-12 11:35:12 +0100
commitdbf3d687e251f5bf47842cfc5b8761f787356f48 (patch)
treeb8a056e284e396ba0537689c1c290348d33b22e2 /bc/Pkgfile.old
parent54f130b57fc317f61bab7e4ca01abed8d595688c (diff)
downloadopt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.gz
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.bz2
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.xz
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.zip
Recette de bc mise à jour.
Diffstat (limited to 'bc/Pkgfile.old')
-rw-r--r--bc/Pkgfile.old21
1 files changed, 21 insertions, 0 deletions
diff --git a/bc/Pkgfile.old b/bc/Pkgfile.old
new file mode 100644
index 0000000..eb21ba4
--- /dev/null
+++ b/bc/Pkgfile.old
@@ -0,0 +1,21 @@
+# Description: An arbitrary precision calculator language
+# URL: http://www.gnu.org/software/bc/bc.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: ncurses, readline
+
+name=bc
+version=1.06
+release=3
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
+ $name-$version-compile_fixes.patch $name-$version-fixes-1.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../$name-$version-compile_fixes.patch
+ patch -p1 < ../$name-$version-fixes-1.patch
+
+ ./configure --prefix=/usr --with-readline
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/info
+}