34 lines
962 B
Bash
34 lines
962 B
Bash
# Template file for 'yash'
|
|
pkgname=yash
|
|
version=2.54
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr"
|
|
make_build_args="LDLIBS=-lm LDLIBS+=${XBPS_CROSS_BASE}/usr/lib/libncursesw.a"
|
|
makedepends="ncurses-devel"
|
|
checkdepends="ed"
|
|
short_desc="Yet another shell (POSIX-compliant)"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://yash.osdn.jp/"
|
|
changelog="https://github.com/magicant/yash/releases"
|
|
distfiles="https://github.com/magicant/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=44a0ac1ccf7c3acecfbea027d8c0c930f13a828065be318055ce113015391839
|
|
alternatives="
|
|
sh:sh:/usr/bin/yash
|
|
sh:sh.1:/usr/share/man/man1/yash.1"
|
|
register_shell="/bin/yash"
|
|
|
|
post_extract() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i 's/checkby "${tempout}"/true/' configure
|
|
fi
|
|
}
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \
|
|
LDFLAGS= LDLIBS= makesignum
|
|
fi
|
|
}
|