#!/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="libxslt" #pkgVersion="master" vers="$(autoconf --version | head -n 1 | rev | cut -f 1 -d' ' | rev | cut -f 1,2 -d'.')" if [ "${vers}" = "2.71" ];then # autoconf 2.63 pkgVersion="v1.1.42" elif [ "${vers}" = "2.69" ];then # pkgVersion="v1.1.40" # pkgVersion="v1.1.39" # pkgVersion="v1.1.38" # pkgVersion="v1.1.37" # pkgVersion="v1.1.35" pkgVersion="v1.1.33" # pkgVersion="v1.1.30" else pkgVersion="v1.1.41" fi pkgDeps="lib/autotools/gnulib;lib/autotools/automake;lib/crypto/openssl;lib/compression/libxz;lib/web/libxml2" #pkgDeps="lib/autotools/autoconf;lib/graphical/xorg-util-macros;lib/graphical/libpciaccess;" pkgDeps="$pkgDeps;lib/autotools/libtool" work="/opt/lib/$pkgName" pkgSrc="$work/$pkgVersion" pkgConfName="libxslt" pkgInstallPath="lib/web/libxslt" #pkgConfPath="${pkgSrc}/dist" PKG_LIBS="-lxslt" PKG_SEARCHLIB_FILE="libxslt.so.1" PKG_SEARCHEAD_FILE="xslt.h" PKG_SEARCHEADLIB_FOLDERS="$pkgSrc/libxslt:$pkgSrc/libxslt" PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS /usr/local/lib:/usr/local/include/libxslt" #PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS /usr/lib/x86_64-linux-gnu /usr/include/x86_64-linux-gnu $pkgSrc/libxslt" #PKG_SEARCHEAD_FOLDERS="$pkgSrc/libxslt" PKG_LD_LIBRARY_PATH="/usr/local/lib" PKG_LIBRARY_PATH="/usr/local/lib" PKG_LD_RUN_PATH="/usr/local/lib" #PKG_LIBS="-L$pkgConfPath -lfreetype2" #PKG_CFLAGS="-I/usr/local/include" pkgDirLog="$work/$pkgVersion-log" #if [ ! -d "$pkgSrc" ];then mkdir -p "$pkgSrc";fi if [ ! -d "$pkgDirLog" ];then mkdir -p "$pkgDirLog";fi