distro

small linux distro experiment
Log | Files | Refs

commit e89806b3cfee8d91237c1cc8e2450c4527796220
parent dd8858c2937d71af0ad8793671612012f59720c0
Author: z3bra <contactatz3bradotorg>
Date:   Tue, 30 Oct 2018 21:27:20 +0100

Add a build dependency system

Diffstat:
pkg/deps.mk | 7+++++++
pkg/mkfile | 9++++++---
2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pkg/deps.mk b/pkg/deps.mk @@ -0,0 +1,7 @@ +git:V: libz +libfmt:V: libutf +libbio:V: libutf libfmt +libregexp9:V: libutf libfmt libbio +mk:V: libutf libfmt libbio libregexp9 +libacl:V: libattr +pm:V: libarchive libacl bzip2 libz diff --git a/pkg/mkfile b/pkg/mkfile @@ -1,14 +1,17 @@ ALL = `{find * -type d -prune} -<config.mk - all:QV: ${ALL} echo "you're done." %:QV: - test ! -d "$stem" && exit + for p in $prereq; do + pm -i $p >/dev/null || pm -a $p/$p@*.tbz + done cd $stem env -i PATH=$PATH mk clean:QV: for p in ${ALL}; do (cd $p; mk clean); done + +<config.mk +<deps.mk