spacepaste

  1.  
  2. # Description: An sh-compatible command language interpreter
  3. # URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
  4. # Maintainer: CRUX System Team, core-ports at crux dot nu
  5. # Depends on: readline
  6. name=bash
  7. version=4.4.12
  8. release=1
  9. source=(http://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
  10. $name-$version.patch.gz profile)
  11. build() {
  12. cd $name-${version:0:3}
  13. gunzip -c $SRC/$name-$version.patch.gz | patch -p0
  14. ./configure --prefix=/usr \
  15. --exec-prefix= \
  16. --disable-nls \
  17. --with-curses \
  18. --with-installed-readline
  19. make -j1
  20. install -D -m 755 bash $PKG/bin/bash
  21. install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
  22. install -D -m 644 $SRC/profile $PKG/etc/profile
  23. }
  24.