CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wget: disabled rpath. Thanks j_v
[crossrootfs.git] / bash / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: ncurses readline
6
7 name=bash
8 version=4.3.42
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \ \
11 $name-$version.patch.gz profile)
12
13 build() {
14 cd $name-${version:0:3}
15
16 gunzip -c $SRC/$name-$version.patch.gz | patch -p0
17
18 cat > config.cache <<EOF
19 ac_cv_func_mmap_fixed_mapped=yes
20 ac_cv_func_strcoll_works=yes
21 ac_cv_func_working_mktime=yes
22 bash_cv_func_sigsetjmp=present
23 bash_cv_getcwd_malloc=yes
24 bash_cv_job_control_missing=present
25 bash_cv_printf_a_format=yes
26 bash_cv_sys_named_pipes=present
27 bash_cv_ulimit_maxfds=yes
28 bash_cv_under_sys_siglist=yes
29 bash_cv_unusable_rtsigs=no
30 gt_cv_int_divbyzero_sigfpe=yes
31 EOF
32
33 ./configure --build=$CHOST \
34 --host=$CTARGET \
35 --prefix=/usr \
36 --exec-prefix= \
37 --mandir=/usr/man \
38 --disable-nls \
39 --without-bash-malloc \
40 --with-curses \
41 --with-installed-readline \
42 --cache-file=config.cache
43
44 make
45 install -D -m 755 bash $PKG/bin/bash
46 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
47 install -D -m 644 $SRC/profile $PKG/etc/profile
48 }