#!/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="curl" #pkgVersion="master" # autoconf 2.59 #pkgVersion="curl-8_23_0" # autoconf 2.59 #pkgVersion="curl-8_11_1" # autoconf 2.59 #pkgVersion="curl-7_88_1" # autoconf 2.57 #pkgVersion="curl-7_50_3" # autoconf < 2.57 #pkgVersion="curl-7_48_0" # autoconf < 2.57 pkgVersion="curl-7_40_0" pkgDeps="lib/autotools/autoconf;lib/autotools/automake;lib/autotools/gnulib" pkgDeps="$pkgDeps;lib/compression/zlib;lib/crypto/openssl;lib/web/idn;lib/crypto/gnutls" pkgDeps="$pkgDeps;lib/web/librtmp" pkgDeps="$pkgDeps;lib/autotools/libtool" pkgConfName="curl" pkgInstallPath="lib/web/curl" pkgConfPath="/usr/local/lib" #pkgConfPath="${pkgSrc}/dist" #pkgConfName="libcurl" #pkgInstallPath="lib/web/curl" PKG_LIBS="-lcurl" PKG_SEARCHEAD_FILE="curl.h" PKG_SEARCHLIB_FILE="libcurl.so" PKG_SEARCHEADLIB_FOLDERS="$PKG_SEARCH_FOLDERS /usr/local/lib:/usr/local/include/curl" ##PKG_SEARCHEADLIB_FOLDERS="" 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