CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[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
dbea7784 5# Depends on: ncurses readline
6dca1d21
JB
6
7name=bash
dbea7784 8version=4.2.37
582e5de1 9release=1
dbea7784 10source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \ \
39571f6e 11 $name-$version.patch.gz profile)
6dca1d21
JB
12
13build() {
dbea7784 14 cd $name-${version:0:3}
39571f6e
VM
15
16 gunzip -c $SRC/$name-$version.patch.gz | patch -p0
6dca1d21 17
582e5de1 18 cat > config.cache <<EOF
dbea7784
VM
19ac_cv_func_mmap_fixed_mapped=yes
20ac_cv_func_strcoll_works=yes
21ac_cv_func_working_mktime=yes
22bash_cv_func_sigsetjmp=present
23bash_cv_getcwd_malloc=yes
6dca1d21 24bash_cv_job_control_missing=present
dbea7784
VM
25bash_cv_printf_a_format=yes
26bash_cv_sys_named_pipes=present
27bash_cv_ulimit_maxfds=yes
28bash_cv_under_sys_siglist=yes
29bash_cv_unusable_rtsigs=no
30gt_cv_int_divbyzero_sigfpe=yes
6dca1d21
JB
31EOF
32
6dca1d21
JB
33 ./configure --build=$CHOST \
34 --host=$CTARGET \
6dca1d21
JB
35 --prefix=/usr \
36 --exec-prefix= \
37 --mandir=/usr/man \
38 --disable-nls \
39 --without-bash-malloc \
dbea7784
VM
40 --with-curses \
41 --with-installed-readline \
42 --cache-file=config.cache
43
6dca1d21 44 make
39571f6e
VM
45 install -D -m 755 bash $PKG/bin/bash
46 install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1
6dca1d21 47 install -D -m 644 $SRC/profile $PKG/etc/profile
39571f6e
VM
48
49 ln -s bash $PKG/bin/sh
50 ln -s bash.1 $PKG/usr/man/man1/sh.1
6dca1d21 51}