#!/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. # ===================================================================== cmdPerl="$(which perl)" if [ -n "$cmdPerl" ];then found="y" fi #LIBS:-l PKG_LIBS="" #CFLAGS: PKG_CFLAGS="" #CPPFLAGS:-I PKG_CPPFLAGS="" #LDFLAGS:-L PKG_LDFLAGS="" #LD_RUN_PATH:"path1:path2:path3" PKG_LD_RUN_PATH="" #LD_LIBRARY_PATH:"path1:path2:path3" PKG_LD_LIBRARY_PATH="" #PATH: "dir1:dir2" PKG_PATH="$pkgSrc" #LIBRARY_PATH:"path1:path2:path3" PKG_LIBRARY_PATH="" #M4DIR: #PKG_M4DIR="-I${rootDarkMake}/lib/autotools/gnulib/autotools/m4" PKG_M4DIR="" for perlDir in $(perl -e 'print join("\n", @INC), "\n";');do echo "perlDir:$perlDir" if [ -d "$perlDir" ];then PKG_PATH="${PKG_PATH} ${perlDir}" PKG_CFLAGS="${PKG_CFLAGS} -I${perlDir}" PKG_CPPFLAGS="${PKG_CPPFLAGS} -I${perlDir}" # PKG_LD_LIBRARY_PATH="${PKG_LD_LIBRARY_PATH}:${perlDir}" fi done