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
util-linux: updated to 2.32
[crossrootfs.git]
/
bash
/
Pkgfile
diff --git
a/bash/Pkgfile
b/bash/Pkgfile
index d13a8e864c7c65a24b49e94b98dda68cfbcdde06..43592a2497af606886eed6e7043a28a75892e3c3 100644
(file)
--- a/
bash/Pkgfile
+++ b/
bash/Pkgfile
@@
-1,40
+1,45
@@
# Description: An sh-compatible command language interpreter
# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: An sh-compatible command language interpreter
# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team,
crux-arm at mikeux dot dyndns dot org
-# Depends on: ncurses
+# Arch Maintainer: CRUX-ARM System Team,
devel at crux-arm dot nu
+# Depends on: ncurses
readline
name=bash
name=bash
-version=4.
1.2
+version=4.
4
release=1
release=1
-source=(http://ftp
.gnu.org/gnu/$name/$name-$version
.tar.gz \
-
$name-4.1-001-002.patch.gz
profile)
+source=(http://ftp
mirror.gnu.org/gnu/$name/$name-${version:0:3}
.tar.gz \
+ profile)
build() {
cd $name-$version
build() {
cd $name-$version
-
+
cat > config.cache <<EOF
cat > config.cache <<EOF
-bash_cv_sys_named_pipes=yes
+ac_cv_func_mmap_fixed_mapped=yes
+ac_cv_func_strcoll_works=yes
+ac_cv_func_working_mktime=yes
+bash_cv_func_sigsetjmp=present
+bash_cv_getcwd_malloc=yes
bash_cv_job_control_missing=present
bash_cv_job_control_missing=present
+bash_cv_printf_a_format=yes
+bash_cv_sys_named_pipes=present
+bash_cv_ulimit_maxfds=yes
+bash_cv_under_sys_siglist=yes
+bash_cv_unusable_rtsigs=no
+gt_cv_int_divbyzero_sigfpe=yes
EOF
EOF
- gunzip -c $SRC/$name-4.1-001-002.patch.gz | patch -p0
-
- touch configure
./configure --build=$CHOST \
--host=$CTARGET \
./configure --build=$CHOST \
--host=$CTARGET \
- --cache-file=config.cache \
--prefix=/usr \
--exec-prefix= \
--mandir=/usr/man \
--disable-nls \
--without-bash-malloc \
--prefix=/usr \
--exec-prefix= \
--mandir=/usr/man \
--disable-nls \
--without-bash-malloc \
- --with-curses
- make
- make DESTDIR=$PKG install
+ --with-curses \
+ --cache-file=config.cache
- rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
+ make
+ install -D -m 755 bash $PKG/bin/bash
+ install -D -m 644 doc/bash.1 $PKG/usr/share/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
}
}