#!/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="apr-util" pkgVersion="1.6.1" pkgDeps="lib/autotools/autoconf;lib/autotools/automake;lib/autotools/gnulib" pkgDeps="$pkgDeps;lib/web/expat;lib/web/libxml2;lib/crypto/openssl;lib/system/libiconv" pkgDeps="$pkgDeps;lib/system/sqlite" pkgDeps="$pkgDeps;web/apache2Apr" pkgDeps="$pkgDeps;lib/autotools/libtool" pkgConfName="apr-util-1" pkgInstallPath="web/apache2AprUtils" pkgConfPath="/usr/local/apr/lib" PKG_PATH="$pkgSrc" #PKG_LIBS="-lapr"; # PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/apr/lib/pkgconfig" # LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib" # LIBRARY_PATH="$LIBRARY_PATH:/usr/local/apr/lib" PKG_SEARCHLIB_FILE="libaprutil-1.so" PKG_SEARCHEAD_FILE="apu.h" PKG_SEARCHEADLIB_FOLDERS="" APU_LIB="" APU_INCLUDE="" if [ -f "/usr/local/apr/include/apr-1/${PKG_SEARCHEAD_FILE}" ];then APU_INCLUDE="/usr/local/apr/include/apr-1" fi if [ -f "/usr/local/apr/lib/${PKG_SEARCHLIB_FILE}" ];then APU_LIB="/usr/local/apr/lib" #elif [ -f "/usr/lib/i386-linux-gnu/{PKG_SEARCHLIB_FILE}" ];then # APU_LIB="/usr/lib/i386-linux-gnu" fi PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS ${APU_LIB}:${APU_INCLUDE}" if [ -x "/usr/local/apr/bin/apu-1-config" ];then cmdAprUtilConfig="/usr/local/apr/bin/apu-1-config" APU="/usr/local/apr/bin/apu-1-config" fi 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