CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: updated to 4.4
[crossrootfs.git] / bash / Pkgfile
index 7287573beb8f67d140028e78dd5437eb184b6c7a..0f44e91581bdb074ba9e48ad12d5673566f89c3d 100644 (file)
@@ -5,16 +5,14 @@
 # Depends on: ncurses readline
 
 name=bash
-version=4.2.45
+version=4.4
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \ \
-        $name-$version.patch.gz profile)
+source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
+        profile)
 
 build() {
-  cd $name-${version:0:3}
+  cd $name-$version
   
-  gunzip -c $SRC/$name-$version.patch.gz | patch -p0
-
   cat > config.cache <<EOF
 ac_cv_func_mmap_fixed_mapped=yes
 ac_cv_func_strcoll_works=yes
@@ -38,14 +36,10 @@ EOF
               --disable-nls \
               --without-bash-malloc \
               --with-curses \
-              --with-installed-readline \
               --cache-file=config.cache
 
   make 
   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 doc/bash.1 $PKG/usr/share/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
 }