Compare commits
1 Commits
master
...
oksh-custo
Author | SHA1 | Date |
---|---|---|
Tuxliban Torvalds | 48a3db2ecd |
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue