diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 09:39:08 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 09:39:08 +0100 |
commit | 8bf1d57cb3cf6aacb647d11949f498196eb76960 (patch) | |
tree | 61f5b772fa586ce957d70c641769dd7e278afce6 /bash | |
parent | 72c120e6230e0389de74e3baced86117d0c5f96f (diff) | |
download | base-8bf1d57cb3cf6aacb647d11949f498196eb76960.tar.gz base-8bf1d57cb3cf6aacb647d11949f498196eb76960.tar.bz2 base-8bf1d57cb3cf6aacb647d11949f498196eb76960.tar.xz base-8bf1d57cb3cf6aacb647d11949f498196eb76960.zip |
Recette de bash mise à jour.
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.footprint | 4 | ||||
-rw-r--r-- | bash/Pkgfile | 32 |
2 files changed, 23 insertions, 13 deletions
diff --git a/bash/.footprint b/bash/.footprint index 98fcb55..b8a9522 100644 --- a/bash/.footprint +++ b/bash/.footprint @@ -6,5 +6,5 @@ drwxr-xr-x root/root etc/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/bash.1.gz -lrwxrwxrwx root/root usr/man/man1/sh.1.gz -> bash.1.gz +-rw-r--r-- root/root usr/man/man1/bash.1.bz2 +lrwxrwxrwx root/root usr/man/man1/sh.1.bz2 -> bash.1.bz2 diff --git a/bash/Pkgfile b/bash/Pkgfile index 64b2c1d..9f16473 100644 --- a/bash/Pkgfile +++ b/bash/Pkgfile @@ -1,6 +1,6 @@ description="An sh-compatible command language interpreter" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" depends=(ncurses readline) @@ -10,13 +10,23 @@ 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 + cd $name-4.1; + gunzip -c $SRC/$name-4.1-001-009.patch.gz | patch -p0; + ./configure \ + --prefix=$prefix \ + --exec-prefix= \ + --mandir=$mandir \ + $(use_with nls) \ + --with-curses \ + --with-installed-readline; + make -j1; + # FIXME: bash will maybe not be the /bin/sh shell for Nutritive… + # +++++ so, be prepared to remove the /bin/sh link, and to add + # +++++ a /usr/bin/bash -> /bin/bash link. (think to replace the + # +++++ exec-prefix on the ./configure, too) + 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 } |