CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: updated source
[crossrootfs.git] / bash / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: An sh-compatible command language interpreter
2# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
24bcbdbc 5# Depends on: ncurses readline
6dca1d21
JB
6
7name=bash
9ad1d258 8version=4.4
582e5de1 9release=1
9ad1d258
VM
10source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
11 profile)
6dca1d21
JB
12
13build() {
9ad1d258 14 cd $name-$version
6dca1d21 15
582e5de1 16 cat > config.cache <<EOF
24bcbdbc
VM
17ac_cv_func_mmap_fixed_mapped=yes
18ac_cv_func_strcoll_works=yes
19ac_cv_func_working_mktime=yes
20bash_cv_func_sigsetjmp=present
21bash_cv_getcwd_malloc=yes
6dca1d21 22bash_cv_job_control_missing=present
24bcbdbc
VM
23bash_cv_printf_a_format=yes
24bash_cv_sys_named_pipes=present
25bash_cv_ulimit_maxfds=yes
26bash_cv_under_sys_siglist=yes
27bash_cv_unusable_rtsigs=no
28gt_cv_int_divbyzero_sigfpe=yes
6dca1d21
JB
29EOF
30
6dca1d21
JB
31 ./configure --build=$CHOST \
32 --host=$CTARGET \
6dca1d21
JB
33 --prefix=/usr \
34 --exec-prefix= \
35 --mandir=/usr/man \
36 --disable-nls \
37 --without-bash-malloc \
24bcbdbc 38 --with-curses \
24bcbdbc
VM
39 --cache-file=config.cache
40
6dca1d21 41 make
39571f6e 42 install -D -m 755 bash $PKG/bin/bash
969b8184 43 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
6dca1d21 44 install -D -m 644 $SRC/profile $PKG/etc/profile
6dca1d21 45}