Compare commits

...

1 Commits

Author SHA1 Message Date
Tuxliban Torvalds 48a3db2ecd oksh: update to 7.1
Esta versión está en proceso de revisión para que netbsd-curses sea reconocido durante la configuración
2022-05-12 16:52:21 -05:00
1 changed files with 10 additions and 8 deletions

View File

@ -1,15 +1,16 @@
# Template file for 'oksh'
pkgname=oksh
version=7.0
version=7.1
revision=2
build_style=gnu-configure
makedepends="ncurses-devel"
hostmakedepends="pkgconf"
makedepends="netbsd-curses-devel"
short_desc="Portable OpenBSD ksh, based on the Public Domain Korn Shell"
maintainer="Tuxliban Torvalds <tenshalito@gmail.com>"
license="Public Domain"
homepage="https://github.com/ibara/oksh"
distfiles="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz"
checksum=21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1
distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064
register_shell="/bin/oksh"
alternatives="
@ -19,12 +20,13 @@ alternatives="
sh:sh.1:/usr/share/man/man1/oksh.1
"
build_options="static"
build_options_default="static"
do_configure() {
export PKG_CONFIG=/usr/bin/pkgconf
if [ "$build_option_static" ]; then
./configure\
--prefix=/usr\
--enable-static\
--enable-lto
./configure --prefix=/usr \
--enable-curses \
--enable-static
fi
}