CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ports: update to 1.5
[crossrootfs.git]
/
bash
/
Pkgfile
diff --git
a/bash/Pkgfile
b/bash/Pkgfile
index ac20d9b138d08f412d5a7a72e42482ae8593a021..8a4ca027bc8968fac16472a31745083bbd273bc7 100644
(file)
--- a/
bash/Pkgfile
+++ b/
bash/Pkgfile
@@
-5,13
+5,15
@@
# Depends on: ncurses
name=bash
# Depends on: ncurses
name=bash
-version=4.
1.2
+version=4.
2.7
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
- $name-
4.1-001-002
.patch.gz profile)
+ $name-
$version
.patch.gz profile)
build() {
build() {
- cd $name-${version%.*}
+ cd $name-${version::3}
+
+ gunzip -c $SRC/$name-$version.patch.gz | patch -p0
cat > config.cache <<EOF
bash_cv_sys_named_pipes=yes
cat > config.cache <<EOF
bash_cv_sys_named_pipes=yes
@@
-31,10
+33,10
@@
EOF
--without-bash-malloc \
--with-curses
make
--without-bash-malloc \
--with-curses
make
- make DESTDIR=$PKG install
-
- rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
+ 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
install -D -m 644 $SRC/profile $PKG/etc/profile
- ln -sf bash $PKG/bin/sh
- ln -sf bash.1 $PKG/usr/man/man1/sh.1
+
+ ln -s bash $PKG/bin/sh
+ ln -s bash.1 $PKG/usr/man/man1/sh.1
}
}