#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : install_vars # 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. # ===================================================================== pkgName="libffi" pkgVersion="v3.2.1" #pkgVersion="master" pkgConfName="libffi" pkgInstallPath="lib/system/ffi" pkgDeps="lib/autotools/autoconf;lib/autotools/automake;lib/autotools/gnulib" pkgDeps="${pkgDeps};lib/compression/lzma" pkgDeps="${pkgDeps};lib/autotools/libtool" PKG_LIBS="-lffi" PKG_SEARCHLIB_FILE="libffi.so" PKG_SEARCHEAD_FILE="ffi.h" PKG_SEARCHEADLIB_FOLDERS="/usr/local/lib:/usr/local/include" PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCHEADLIB_FOLDERS /usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu" work="/opt/lib/$pkgName" pkgSrc="$work/$pkgVersion" pkgDirLog="$work/$pkgVersion-log" #if [ ! -d "$pkgSrc" ];then mkdir -p "$pkgSrc";fi if [ ! -d "$pkgDirLog" ];then mkdir -p "$pkgDirLog";fi