чување 7d34c70859308e893edb266d65860e192b30f0b1
родитељ 845fbdbfdff5e7c2ea33feacc9c4dada3b583793
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Fri, 5 Aug 2022 10:17:28 +0200
Small changes
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 4, додавања: 19(+), брисања: 9(-)
diff --git a/TODO b/TODO
@@ -1,6 +1,19 @@
TODO
====
+Low priority
+------------
+
+< > Install dependencies (it would call `mk -f $mkpklib/install.mk`)
+ - It would need dependencies db or dependencies file with the mkfiles; maybe
+ just a variable
+
+< > Implement explicitely passing version as a parameter
+
+
+Done
+----
+
[x] Change defaults.mk: it should set variables to fixed defaults, and a new
file, derivatives.mk, would take into account possibly changed values of
variables like DESTDIR and PREFIX
@@ -13,12 +26,6 @@ TODO
- Handle them differently; since we have mkfiles here, it is possible to
specify legal files per-package and avoid automated search
-< > Install dependencies (it would call `mk -f $mkpklib/install.mk`)
- - It would need dependencies db or dependencies file with the mkfiles; maybe
- just a variable
-
-< > Implement explicitely passing version as a parameter
-
[x] mkpk fetch
[x] Actually check SHA512 sums when installing
diff --git a/config.mk b/config.mk
@@ -2,4 +2,4 @@ PREFIX=/
BINDIR=$DESTDIR/bin
LIBDIR=$DESTDIR/lib/mkpk
PKG=mkpk
-GZARGS=-9f
+GZARGS=-9kf
diff --git a/mkfile b/mkfile
@@ -1,6 +1,9 @@
-<config.mk
+mkpklib=lib
install_sources=preinstall install-standard
<lib/defaults.mk
+<config.mk
+<lib/derivatives.mk
+<config.mk
MKFILES= `{find lib -name '*.mk'}
DOCS= README
diff --git a/mkpk.8 b/mkpk.8
@@ -3,7 +3,7 @@
.Os Galeb 2.0
.Sh NAME
.Nm mkpk
-.Nd Packaging system using Plan9 mk
+.Nd packaging system using Plan9 mk
.Sh SYNOPSIS
.Nm
.Op Ar operation