mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +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
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends: debhelper (>= 9)
|
||||
EOT
|
||||
|
||||
ini_value global.subpackages | grep -q run && cat << EOT
|
||||
|
||||
Package: \$NAME-run
|
||||
Architecture: any
|
||||
Depends: \`format_depends "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN"\`
|
||||
Description: `ini_value summary`
|
||||
`ini_value description | sed 's/^/ /'`
|
||||
EOT
|
||||
|
||||
ini_value global.subpackages | grep -q devel && cat << EOT
|
||||
|
||||
Package: \$NAME-devel
|
||||
Architecture: any
|
||||
Depends: \`format_depends "\$NAME-run = \$VERSION-\$RELEASE, \$REQUIRES_DEVEL"\`
|
||||
Description: \$NAME Development Package
|
||||
Development tools for \$NAME-run
|
||||
EOT
|
||||
|
||||
cat << EOT
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue