#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : check # Auteur : Nicolas "DarkHack" Chapuis (c) 2026 # ================== DARKHACK ================== # [ darkweb.fr - system online ] # Powered by Perplexity, your AI assistant # [https://www.perplexity.ai](https://www.perplexity.ai) # ============================================== # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ===================================================================== rootDarkMake="${rootDarkMake:-/etc/darkmake}" if ! type "shInclude" > /dev/null; then . /etc/darksh/lib/shTools fi pkgConfName="gettext" pkgConfPath="/usr/local/lib" if [ -z "${PKG_CONFIG_PATH}" ];then PKG_CONFIG_PATH="/usr/local/lib" else PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/lib";fi #PKG_CONFIG_PATH="/usr/local/lib" cmdAutopoint="$(which autopoint)" cmdGettextize="$(which gettextize)" #if [ -z "$cmdAutopoint" ];then # $rootDarkMake/pkg/bin/aptCheck autopoint # cmdAutopoint="$(which autopoint)" #fi #PKG_PATH="$pkgSrc" PKG_M4DIR="" #LIBS:-l PKG_LIBS="" #CFLAGS: PKG_CFLAGS="" #CPPFLAGS:-I PKG_CPPFLAGS="" #LDFLAGS:-L PKG_LDFLAGS="" GETTEXT_VERSION="$( gettext --version | head -n 1 | rev | cut -f 1 -d' ' | rev )" pkgConfName="$pkgConfName"\ pkgInstallPath="lib/autotools/gettext"\ . "${rootDarkMake}/pkg/bin/check" dbgMsg="found:${found}" for nameConf in GETTEXT_VERSION LIBS CFLAGS CPPFLAGS LDFLAGS LD_RUN_PATH LD_LIBRARY_PATH PATH LIBRARY_PATH M4DIR;do dbgMsg="${dbgMsg} $nameConf:$(eval "echo \"\$PKG_${nameConf}\"")" done echo "$dbgMsg"