From 9326c27d75e4fc9af8e688d9cdde53bfa266ff1c Mon Sep 17 00:00:00 2001 From: hovercats Date: Sat, 8 Feb 2025 22:00:53 +0100 Subject: [PATCH] pdpmake: new package at 2.0.3 --- .gitmodules | 3 +++ pkg/gen.lua | 7 ++++--- pkg/pdpmake/gen.lua | 24 ++++++++++++++++++++++++ pkg/pdpmake/src | 1 + pkg/pdpmake/ver | 1 + 5 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 pkg/pdpmake/gen.lua create mode 160000 pkg/pdpmake/src create mode 100644 pkg/pdpmake/ver diff --git a/.gitmodules b/.gitmodules index a6ebfdef..6d203aef 100644 --- a/.gitmodules +++ b/.gitmodules @@ -267,6 +267,9 @@ path = pkg/pciutils/src url = https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git ignore = all +[submodule "pkg/pdpmake/src"] + path = pkg/pdpmake/src + url = https://github.com/rmyorston/pdpmake [submodule "pkg/pigz/src"] path = pkg/pigz/src url = https://github.com/madler/pigz diff --git a/pkg/gen.lua b/pkg/gen.lua index bc2f20f7..aa32ca50 100644 --- a/pkg/gen.lua +++ b/pkg/gen.lua @@ -18,9 +18,9 @@ subgen 'cmark' subgen 'cproc' subgen 'curl' subgen 'dav1d' -subgen 'dosfstools' subgen 'dmenu' subgen 'dnssec-rr' +subgen 'dosfstools' subgen 'e2fsprogs' subgen 'efibootmgr' subgen 'efivar' @@ -80,8 +80,8 @@ subgen 'mtdev' subgen 'mupdf' subgen 'musl' subgen 'nasm' -subgen 'netbsd-curses' subgen 'ncompress' +subgen 'netbsd-curses' subgen 'netsurf' subgen 'nginx' subgen 'nsd' @@ -93,6 +93,7 @@ subgen 'opus' subgen 'pax' subgen 'pciutils' subgen 'pcre' +subgen 'pdpmake' subgen 'perp' subgen 'pigz' subgen 'pixman' @@ -124,11 +125,11 @@ subgen 'tinyalsa' subgen 'tinyemu' subgen 'transmission' subgen 'tz' +subgen 'u-boot' subgen 'ubase' subgen 'unbound' subgen 'unzip' subgen 'usbids' -subgen 'u-boot' subgen 'utf8proc' subgen 'util-linux' subgen 'velox' diff --git a/pkg/pdpmake/gen.lua b/pkg/pdpmake/gen.lua new file mode 100644 index 00000000..8b06d668 --- /dev/null +++ b/pkg/pdpmake/gen.lua @@ -0,0 +1,24 @@ +cflags{ + '-std=c99', + '-pedantic', + '-Wall', + '-Wextra', +} + +exe('pdpmake', { + 'check.c', + 'input.c', + 'macro.c', + 'main.c', + 'make.c', + 'modtime.c', + 'rules.c', + 'target.c', + 'utils.c', +}) + +file('bin/pdpmake', '755', '$outdir/pdpmake') + +man{'pdpmake.1'} + +fetch 'git' diff --git a/pkg/pdpmake/src b/pkg/pdpmake/src new file mode 160000 index 00000000..91d583df --- /dev/null +++ b/pkg/pdpmake/src @@ -0,0 +1 @@ +Subproject commit 91d583dfbeca503d1a4481f6d3f2af0c1c05b7f4 diff --git a/pkg/pdpmake/ver b/pkg/pdpmake/ver new file mode 100644 index 00000000..99df8cb3 --- /dev/null +++ b/pkg/pdpmake/ver @@ -0,0 +1 @@ +2.0.3 r0 \ No newline at end of file