mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-19 13:17:39 +01:00
create-mkdebian.sh: Honour subpackages config option in project.txt
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
22f51eb814
commit
1753a239a1
1 changed files with 9 additions and 0 deletions
|
|
@ -38,18 +38,27 @@ Section: `ini_value global.group`
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Standards-Version: 3.9.2
|
Standards-Version: 3.9.2
|
||||||
Build-Depends: debhelper (>= 9)
|
Build-Depends: debhelper (>= 9)
|
||||||
|
EOT
|
||||||
|
|
||||||
|
ini_value global.subpackages | grep -q run && cat << EOT
|
||||||
|
|
||||||
Package: \$NAME-run
|
Package: \$NAME-run
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: \`format_depends "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN"\`
|
Depends: \`format_depends "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN"\`
|
||||||
Description: `ini_value summary`
|
Description: `ini_value summary`
|
||||||
`ini_value description | sed 's/^/ /'`
|
`ini_value description | sed 's/^/ /'`
|
||||||
|
EOT
|
||||||
|
|
||||||
|
ini_value global.subpackages | grep -q devel && cat << EOT
|
||||||
|
|
||||||
Package: \$NAME-devel
|
Package: \$NAME-devel
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: \`format_depends "\$NAME-run = \$VERSION-\$RELEASE, \$REQUIRES_DEVEL"\`
|
Depends: \`format_depends "\$NAME-run = \$VERSION-\$RELEASE, \$REQUIRES_DEVEL"\`
|
||||||
Description: \$NAME Development Package
|
Description: \$NAME Development Package
|
||||||
Development tools for \$NAME-run
|
Development tools for \$NAME-run
|
||||||
|
EOT
|
||||||
|
|
||||||
|
cat << EOT
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue