smlinux/base/mksh/mksh.SMBuild
PktSurf b702d78311 Fixed identation in subshell in build files of following packages:
base/{busybox,enchant,fftw,kmod,llvm,musl}
Replaced CFLAGS and related CFLAGS with += operator for cleanliness
Fixed mkdir commands in:
base/{exiv2,fmt,glib,json-glib}
Fixed file/recompile_magic.mgc.sh script by discarding /usr in base/file build file
Tuned build options in base/flac
Discarded unnecessary CPPFLAGS and printf command in base/flex
Replaced CFLAGS with LDFLAGS in base/gawk
Discarded /usr/bin/update-mime-database with own /etc/rc.d.rc.gtk liner in base/glib's doinst.sh file
Discarded CXXFLAGS liner in base/glib
Discarded mkdir liner in base/initfs
Cause base/llvm build file to properly cd into the smbuild directory smoothly when attempting a rebuild in future
Discarded unnecessary CFLAGS options in base/mksh
Upgraded base/zstd to 1.5.2, rewrote its build options to use cmake build system
2023-03-14 22:36:37 +05:30

33 lines
737 B
Text
Executable file

app=mksh
version=r56c
sversion=R56c
build=1sml
homepage="https://www.mirbsd.org/mksh.htm"
download="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-$sversion.tgz"
desc="MirBSD Korn Shell, successor to the pdksh"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$sversion
tar xf $srcdir/$app-$sversion.tgz
cd "$app"
fixbuilddirpermissions
}
build() {
chmod +x Build.sh
CFLAGS+=" -static" ./Build.sh
install -Dm 644 mksh.1 $pkg/share/man/man1/mksh.1
install -Dm 755 mksh $pkg/bin/mksh
head -n 26 Build.sh > $pkgdocs/LICENSE
mkfinalpkg
}
sha512sums="
7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135 mksh-R56c.tgz
"