#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : compile # 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}" . $racine/lib/system/dahdi/global/install_vars if [ ! -d "$src/$pkgName$pkgVersion" ];then $racine/lib/system/dahdi/install/getsource fi cd $src/$pkgName$pkgVersion #if [ -z "$(pkg-config --list-all | grep '^serf-1 ')" ];then # echo "======== HAVE TO INSTALL serf-1" # $racine/lib/web/serf/install/getsource # $racine/lib/web/serf/install/install #fi #if [ -z "$(pkg-config --list-all | grep '^sqlite3 ')" ];then # echo "======== HAVE TO INSTALL serf-1" # $racine/lib/system/sqlite/install/getsource # $racine/lib/system/sqlite/install/install #fi aptitude install linux-headers-$(uname -r) linux-image-$(uname -r) if [ -z "$(which file)" ];then aptitude install file fi echo "======== CLEAN ======== $version" make clean > $installLogDir/clean.log 2>&1 echo "======== MAKE ======== $version" make all > $installLogDir/makeall.log 2>&1 echo "======== MAKE INSTALL ======== $version" make install > $installLogDir/install.log 2>&1 echo "======== MAKE CHECK ======== $version" make config > $installLogDir/config.log 2>&1