New package: oils-for-unix-0.28.0
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Template file for 'oils-for-unix'
|
||||
pkgname=oils-for-unix
|
||||
version=0.28.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_with readline) --readline=$XBPS_CROSS_BASE"
|
||||
makedepends="$(vopt_if readline readline-devel)"
|
||||
short_desc="New unix shell with JSON-compatible structured data"
|
||||
maintainer="meator <meator.dev@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://oils.pub/"
|
||||
distfiles="https://oils.pub/download/oils-for-unix-${version}.tar.gz"
|
||||
checksum=266d14b16d90d4a07fe774881eafa0ecdbbc8411cf1c75f8b6e256370b668e35
|
||||
register_shell="/usr/bin/osh /usr/bin/ysh"
|
||||
conflicts="oil"
|
||||
|
||||
build_options="readline"
|
||||
build_options_default="readline"
|
||||
|
||||
do_build() {
|
||||
# OILS_PARALLEL_BUILD affects only the first (largest) TU,
|
||||
# everything else is build sequentially.
|
||||
if [ "$XBPS_MAKEJOBS" -eq 1 ]; then
|
||||
export OILS_PARALLEL_BUILD=0
|
||||
else
|
||||
export OILS_PARALLEL_BUILD=1
|
||||
fi
|
||||
_build/oils.sh --cxx "$CXX"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Build dir embeds the compiler name in it.
|
||||
DESTDIR="$DESTDIR" ./install _bin/$CXX-opt-sh/oils-for-unix
|
||||
}
|
||||
Reference in New Issue
Block a user