void-packages/templates/dash/template
Juan RP e0030bc0fe Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build
  or run time dependencies to packages. An optional third parameter
  can be used to specify other version than the one set in
  the depends file.
- Use a "depends" file in package directory to specify minimum
  required ABI/API version for a package, so that there's no need
  to set the version all the time in pkgs.
- Updated bash to 4.0.

--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
2009-02-24 07:13:11 +01:00

27 lines
874 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="--bindir=$XBPS_DESTDIR/$pkgname-$version/bin"
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_package=yes
base_chroot=yes
Add_dependency run glibc
post_install()
{
cd $XBPS_DESTDIR/$pkgname-$version/bin && ln -s dash sh
}