#!/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. # ===================================================================== racine="${racine:-/etc/darkmake}" pkgConfName="ply" pkgInstallPath="lib/autotools/ply" . $racine/$pkgInstallPath/global/install_vars PKG_PATH="$pkgSrc" PKG_LIBS="" PKG_CFLAGS="" PKG_M4DIR="" if [ ! -d "/usr/local/lib/python3.9/site-packages/ply" ];then pkgConfName="$pkgConfName"\ pkgInstallPath="$pkgInstallPath"\ . $racine/lib/autotools/pkg-config/bin/check else found="y" # PKG_LIBS="-L/usr/local/lib -liconv" # PKG_CFLAGS="-I/usr/local/include" # PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/ssl/lib/pkgconfig" # LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/ssl/lib" # LIBRARY_PATH="$LIBRARY_PATH:/usr/local/ssl/lib" # LIBS="$LIBS $PKG_LIBS" # CFLAGS="$CFLAGS $PKG_CFLAGS" # M4DIR="$M4DIR $PKG_M4DIR" fi #if [ -n "$found" ];then # LIBICONV_LIBS="$PKG_LIBS"; # LIBICONV_CFLAGS="$PKG_CFLAGS"; #fi