diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2009-12-18 20:59:59 +0059 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-18 22:20:49 +0100 |
commit | 4f1b874dedde0c3ecdac4ae9843d04fb36d22029 (patch) | |
tree | d10ab4cfeecd552a651f5c5c0a956789df388330 /package/pkgmaker | |
parent | c549fe094745b04e32a6f2419bbf7a2ac1b246e0 (diff) |
another round of features
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package/pkgmaker')
-rw-r--r-- | package/pkgmaker | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/package/pkgmaker b/package/pkgmaker index 46b8b1b15..ebca00493 100644 --- a/package/pkgmaker +++ b/package/pkgmaker @@ -5,10 +5,11 @@ else export GMAKE=make fi -for subdir in bash bc; do +for subdir in bash bc mksh; do cd $subdir pn=$($GMAKE show=PKG_NAME) pa=$($GMAKE show=ALL_PKGOPTS) + pfl=$($GMAKE show=PKG_FLAVOURS) typeset -u pnu=$pn pd=$($GMAKE show=PKG_DESCR) ph=$($GMAKE show=PKG_URL) @@ -43,6 +44,17 @@ for subdir in bash bc; do [[ -n $ph ]] && print "\t $ph" fi done + + for pf in $pfl; do + pfd=$($GMAKE show=PKGFD_$pf) + print + print config ADK_PACKAGE_${pnu}_$pf + print "\tbool \"${pfd:-flavour ADK_PACKAGE_${pnu}_$pf}\"" + print \\tdefault n + print \\tdepends on ADK_COMPILE_$pnu + print \\thelp + print "\t flavour ADK_PACKAGE_${pnu}_$pf" + done ) >Config.in cd .. done |