This commit is contained in:
Karchnu 2021-04-23 03:43:06 +02:00
parent bc4e272803
commit 26f6486be8

View File

@ -8,6 +8,7 @@ Q ?= @
SLOT ?= /usr/baguette SLOT ?= /usr/baguette
PREFIX := $(SLOT) PREFIX := $(SLOT)
BINDIR := $(PREFIX)/bin BINDIR := $(PREFIX)/bin
SBINDIR := $(PREFIX)/sbin
LIBDIR := $(PREFIX)/lib LIBDIR := $(PREFIX)/lib
SHAREDIR := $(PREFIX)/share SHAREDIR := $(PREFIX)/share
INCLUDEDIR := $(PREFIX)/include INCLUDEDIR := $(PREFIX)/include
@ -29,7 +30,6 @@ JOBS ?= 1
builddir => bdir builddir => bdir
pkgdir => pkg_fake_root_dir pkgdir => pkg_fake_root_dir
srcdir => source_directory srcdir => source_directory
scripts != ls $(name).(pre|post)-(install|update|deinstall) 2>/dev/null
# Options # Options
#chrooted ?= false #chrooted ?= false
@ -39,9 +39,9 @@ keep_build_env ?= false
install_build_dependencies ?= check_build_dependencies install_build_dependencies ?= check_build_dependencies
check_build_dependencies: check_build_dependencies:
@echo -e "\033[1;35;47mbuild-dependencies: $(build-dependencies)\033[0m" @echo -e "\033[1;35;47mbuild-dependencies: $(build-dependencies)\033[0m"
$(Q)[ $(ignore_build_deps) != "false" ] && echo "ignoring" || install-packages $(build-dependencies) $(Q)[ "$(ignore_build_deps)" != "false" ] && echo "ignoring" || install-packages $(build-dependencies)
export SLOT PREFIX BINDIR LIBDIR SHAREDIR INCLUDEDIR MANDIR export SLOT PREFIX BINDIR SBINDIR LIBDIR SHAREDIR INCLUDEDIR MANDIR
CC ?= clang CC ?= clang
CXX ?= clang++ CXX ?= clang++