From 5c8b4a8ace8538138f8daab29c6dd46f96fae618 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 12 Jul 2020 00:13:21 -0400 Subject: ppt-mkpkgs: Add Section fields to control files --- diff --git a/changelog b/changelog index df49013..278c5f3 100644 --- a/changelog +++ b/changelog @@ -16,6 +16,8 @@ platconf-pkg-tools (3.0.0) trunk * platconf-pkg-tools: Add an extended description. * platconf-pkg-tools: Organize into section "dev". - Add opkbuild 4.2.0 to build dependencies. + * Generated package control files are now organized into sections + "share" and "dev". -- Patrick McDermott Mon, 15 Jul 2019 17:59:07 -0400 diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs index 0567346..04fb541 100644 --- a/src/2/ppt-mkpkgs +++ b/src/2/ppt-mkpkgs @@ -21,6 +21,7 @@ make_common_pkg() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all + Section: share Description: "${PLAT}" platform configuration - common files EOF >"config-${PLAT}-common.pkg/docs" @@ -36,6 +37,7 @@ make_base_pkg() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} + Section: share Essential: yes Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-Base-Depends} @@ -60,6 +62,7 @@ make_build_time_pkgs() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all + Section: dev Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-${pkg}-Depends} Description: "${PLAT}" platform configuration for ${pkg} @@ -85,6 +88,7 @@ make_run_time_pkgs() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} + Section: share Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-${pkg}-Depends} Description: "${PLAT}" platform configuration for ${pkg} @@ -109,6 +113,7 @@ main() make_base_pkg make_build_time_pkgs make_run_time_pkgs + info 'Consider adding "opkbuild (>= 4.2.0)" to Build-Depends' if ${MAKE_SUBSTVARS}; then info 'Stub "substvars" file generated. Set variables as '$(: \ )'needed.' diff --git a/src/3/ppt-mkpkgs b/src/3/ppt-mkpkgs index 41121f9..2cb1908 100644 --- a/src/3/ppt-mkpkgs +++ b/src/3/ppt-mkpkgs @@ -21,6 +21,7 @@ make_common_pkg() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all + Section: share Description: "${PLAT}" platform configuration - common files EOF >"config-${PLAT}-common.pkg/docs" @@ -36,6 +37,7 @@ make_base_pkg() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} + Section: share Essential: yes Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-Base-Depends} @@ -62,6 +64,7 @@ make_build_time_pkgs() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: all + Section: dev Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-${pkg}-Depends} Description: "${PLAT}" platform configuration for ${pkg} @@ -87,6 +90,7 @@ make_run_time_pkgs() # Generated by ppt-mkpkgs. Do not edit. Architecture: all Platform: ${PLAT} + Section: share Depends: config-${PLAT}-common (= \${Binary-Version}), \${Config-${pkg}-Depends} Description: "${PLAT}" platform configuration for ${pkg} @@ -111,6 +115,7 @@ main() make_base_pkg make_build_time_pkgs make_run_time_pkgs + info 'Consider adding "opkbuild (>= 4.2.0)" to Build-Depends' if ${MAKE_SUBSTVARS}; then info 'Stub "substvars" file generated. Set variables as '$(: \ )'needed.' -- cgit v0.9.1