| 1 | # Description: The Almquist shell, a POSIX-compliant /bin/sh implementation |
| 2 | # URL: http://gondor.apana.org.au/~herbert/dash/ |
| 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 | |
| 6 | name=dash |
| 7 | version=20150713 |
| 8 | release=1 |
| 9 | source=(http://jue.li/crux/files/$name-$version.tar.xz) |
| 10 | |
| 11 | build() { |
| 12 | cd $name-$version |
| 13 | ./autogen.sh |
| 14 | ./configure --build=$CHOST \ |
| 15 | --host=$CTARGET \ |
| 16 | --prefix= \ |
| 17 | --mandir=/usr/share/man |
| 18 | make |
| 19 | make DESTDIR=$PKG install |
| 20 | ln -s dash $PKG/bin/sh |
| 21 | ln -s dash.1 $PKG/usr/share/man/man1/sh.1 |
| 22 | } |