summaryrefslogtreecommitdiffstats
path: root/bc/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /bc/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'bc/Pkgfile')
-rw-r--r--bc/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/bc/Pkgfile b/bc/Pkgfile
new file mode 100644
index 0000000..0e59ec0
--- /dev/null
+++ b/bc/Pkgfile
@@ -0,0 +1,20 @@
+description="An arbitrary precision calculator language"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gnu.org/software/bc/bc.html"
+depends=(ncurses readline)
+
+name=bc
+version=1.06
+release=3
+source=(http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz bc-1.06-compile_fixes.patch bc-1.06-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
+}