#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : checks # 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 2>&1; then . /etc/darksh/lib/shTools shDebugEnable="1" fi $(shInclude ${rootDarkMake}/pkg/lib-sh/pkg-config) # path_install_vars="$path_install_vars" . ./lib/autotools/pkg-config/bin/checks shErrorOnMissing "path_install_vars" #if [ -z "$PKG_CONFIG_PATH" ];then # for pkgConfPath in "/usr/local/lib/pkgconfig" "/usr/local/lib64/pkgconfig" "/usr/local/share/pkgconfig" "/usr/local/ssl/lib/pkgconfig" \ # "/usr/share/pkgconfig" "/usr/lib/pkgconfig" "/usr/lib/x86_64-linux-gnu/pkgconfig";do # if [ -d "$pkgConfPath" ];then PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$pkgConfPath";fi # done #fi shDebug 1 "[PKG_CONFIG_PATH="$PKG_CONFIG_PATH"] checks deps from :$path_install_vars" $(shInclude $path_install_vars) shLog="[ pkg/bin/checks :$pkgName/$pkgVersion ]" checkDeps "$pkgDeps" . $path_install_vars shLog="[ $pkgName/$pkgVersion ]" #shDebug 1 "================================================================================================================================================" #shDebug 1 "$path_install_vars $pkgDirLog $pkgSrc $pkgName $pkgVersion" #shDebug 1 " PARAM[$pkgConfName] : LIBS:$LIBS CFLAGS:$CFLAGS CPPFLAGS:$CPPFLAGS LDFLAGS:$LDFLAGS LD_LIBRARY_PATH:$LD_LIBRARY_PATH LIBRARY_PATH:$LIBRARY_PATH" #shDebug 1 " PARAM[$pkgConfName] : MD4DIR:$M4DIR " pkgDirLog="$pkgDirLog" pkgSrc="$pkgSrc" pkgName="$pkgName" pkgVersion="$pkgVersion" . ${rootDarkMake}/pkg/bin/getsource