From 8bf1d57cb3cf6aacb647d11949f498196eb76960 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 09:39:08 +0100 Subject: Recette de bash mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash/.footprint | 4 ++-- bash/Pkgfile | 32 +++++++++++++++++++++----------- 2 files changed, 23 insertions(+), 13 deletions(-) (limited to 'bash') 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 " +maintainer="Lukc " 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 } -- cgit v1.2.3-70-g09d2