Merge branch 'add-documentation-for-wise_unpack_installers' into 'master'

Added documentation for wise_unpack_installers function

See uest src_prepare/src_prepare-overlay!396
This commit is contained in:
Michał Dec 2024-02-25 16:46:37 +00:00
commit 6766576bbc

View File

@ -1,4 +1,4 @@
# Copyright 2021-2022 Gentoo Authors # Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: wise.eclass # @ECLASS: wise.eclass
@ -25,7 +25,7 @@ PROPERTIES+="live"
# @ECLASS_VARIABLE: WISE_INSTALLER # @ECLASS_VARIABLE: WISE_INSTALLER
# @DESCRIPTION: # @DESCRIPTION:
# WISE installer filename. It can be an array! # WISE installer path. It can be an array!
: ${WISE_INSTALLER:=} : ${WISE_INSTALLER:=}
LICENSE+="e_wise-mit-like" LICENSE+="e_wise-mit-like"
@ -38,6 +38,10 @@ BDEPEND+="
app-arch/p7zip app-arch/p7zip
" "
# @FUNCTION: wise_unpack_installers
# @DESCRIPTION:
# This function requires that a global array called WISE_INSTALLER be declared on the package's level.
# All paths in that variable will be extracted with e_wise for DOS, because a native version does not exist yet.
wise_unpack_installers() { wise_unpack_installers() {
mkdir wise_output mkdir wise_output
mkdir ewise mkdir ewise