python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / yash / template
blobe25d37c6772d76eb79dc76642487cee4251db711
1 # Template file for 'yash'
2 pkgname=yash
3 version=2.47
4 revision=1
5 build_style=configure
6 configure_args="--prefix=/usr"
7 makedepends="ncurses-devel"
8 short_desc="Yet another shell (POSIX-compliant)"
9 maintainer="Leah Neukirchen <leah@vuxu.org>"
10 license="GPL-2.0-or-later"
11 homepage="http://yash.osdn.jp/"
12 #changelog="https://github.com/magicant/yash/releases"
13 distfiles="https://github.com/magicant/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
14 checksum=931f2e7451d8b1eca2a98caeef7eda0527d96376f9f2c9bec90bc5938e39992e
15 make_build_args="LDLIBS=-lm LDLIBS+=${XBPS_CROSS_BASE}/usr/lib/libncursesw.a"
16 register_shell="/bin/yash"
17 alternatives="
18  sh:sh:/usr/bin/yash
19  sh:sh.1:/usr/share/man/man1/yash.1"
21 post_extract() {
22         sed -i '40i#undef iswdigit' arith.c  # macro in musl
23         if [ "$CROSS_BUILD" ]; then
24                 sed -i 's/checkby "${tempout}"/true/' configure
25         fi
28 pre_build() {
29         if [ "$CROSS_BUILD" ]; then
30                 make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \
31                         LDFLAGS= LDLIBS= makesignum
32         fi