void-packages/templates/dash/template
Juan RP 855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00

28 lines
942 B
Text

# Template file for 'dash'
pkgname=dash
version=0.5.4
distfiles="
http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--prefix= --mandir=/usr/share/man"
configure_env="LANG=C"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="POSIX-compliant Unix shell, much smaller than GNU bash"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a9dc8f0237f632dd2c1bfeff80b1052e75fafaef0d767e3beab0bd8becced623
long_desc="
Debian Almquist shell (dash) is a POSIX-compliant Unix shell, much smaller
than bash. It requires less disk space but is also less feature rich.
Dash is a direct descendant of the NetBSD version of the Almquist Shell
(ash). It was ported to Linux by Herbert Xu in early 1997. It was renamed to
dash in 2002."
base_chroot=yes
register_shell="/bin/sh"
Add_dependency run glibc
post_install()
{
cd ${DESTDIR}/bin && ln -s dash sh
}