summaryrefslogtreecommitdiffstats
path: root/bash/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 /bash/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'bash/Pkgfile')
-rw-r--r--bash/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/bash/Pkgfile b/bash/Pkgfile
new file mode 100644
index 0000000..64b2c1d
--- /dev/null
+++ b/bash/Pkgfile
@@ -0,0 +1,22 @@
+description="An sh-compatible command language interpreter"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
+depends=(ncurses readline)
+
+name=bash
+version=4.1.9
+release=1
+source=(http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz bash-4.1-001-009.patch.gz profile)
+build ()
+{
+ cd $name-4.1;
+ gunzip -c $SRC/$name-4.1-001-009.patch.gz | patch -p0;
+ ./configure --prefix=/usr --exec-prefix= --mandir=/usr/man --disable-nls --with-curses --with-installed-readline;
+ make -j1;
+ install -D -m 755 bash $PKG/bin/bash;
+ install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1;
+ install -D -m 644 $SRC/profile $PKG/etc/profile;
+ ln -s bash $PKG/bin/sh;
+ ln -s bash.1 $PKG/usr/man/man1/sh.1
+}