void-packages/srcpkgs/chroot-bash/template

35 lines
1.3 KiB
Plaintext

# Template build file for 'chroot-bash'.
pkgname=chroot-bash
version=4.2
revision=5
wrksrc="bash-${version}"
build_style=gnu-configure
configure_args="--without-bash-malloc --enable-static-link
bash_cv_under_sys_siglist=yes bash_cv_unusable_rtsigs=no
bash_cv_void_sighandler=yes bash_cv_wcontinued_broken=no
bash_cv_sys_named_pipes=present bash_cv_job_control_missing=present
bash_cv_wexitstatus_offset=8 bash_cv_must_reinstall_sighandlers=no
bash_cv_opendir_not_robust=no bash_cv_signal_vintage=posix
bash_cv_getenv_redef=yes bash_cv_getpw_declared=yes
bash_cv_func_sigsetjmp=present bash_cv_ulimit_maxfds=yes
bash_cv_getcwd_malloc=yes bash_cv_under_sys_siglist=yes
bash_cv_sys_siglist=yes bash_cv_func_ctype_nonascii=no
bash_cv_dup2_broken=no bash_cv_pgrp_pipe=no bash_cv_printf_a_format=yes
bash_cv_func_strcoll_broken=no bash_cv_func_vsnprintf=yes"
short_desc="The GNU Bourne Again Shell -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/bash/bash.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz"
checksum=a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
broken_as_needed=yes
bootstrap=yes
provides="bash-${version}_${revision}"
conflicts="bash>=0"
post_install() {
ln -s /bin/bash ${DESTDIR}/usr/bin/sh
rm -rf ${DESTDIR}/usr/share
}