build-package.sh: introduce TERMUX_PKG_PROVIDES
The field 'Provides:' makes possible creation of virtual packages. Info: https://www.debian.org/doc/debian-policy/#virtual-packages-provides
This commit is contained in:
parent
1aaca32b30
commit
461ab10d23
@ -320,6 +320,7 @@ termux_step_setup_variables() {
|
||||
TERMUX_PKG_RECOMMENDS="" # https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
|
||||
TERMUX_PKG_SUGGESTS=""
|
||||
TERMUX_PKG_REPLACES=""
|
||||
TERMUX_PKG_PROVIDES="" #https://www.debian.org/doc/debian-policy/#virtual-packages-provides
|
||||
TERMUX_PKG_CONFFILES=""
|
||||
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE=""
|
||||
TERMUX_PKG_DEVPACKAGE_DEPENDS=""
|
||||
@ -1216,6 +1217,7 @@ termux_step_create_debfile() {
|
||||
test ! -z "$TERMUX_PKG_CONFLICTS" && echo "Conflicts: $TERMUX_PKG_CONFLICTS" >> DEBIAN/control
|
||||
test ! -z "$TERMUX_PKG_RECOMMENDS" && echo "Recommends: $TERMUX_PKG_RECOMMENDS" >> DEBIAN/control
|
||||
test ! -z "$TERMUX_PKG_REPLACES" && echo "Replaces: $TERMUX_PKG_REPLACES" >> DEBIAN/control
|
||||
test ! -z "$TERMUX_PKG_PROVIDES" && echo "Provides: $TERMUX_PKG_PROVIDES" >> DEBIAN/control
|
||||
test ! -z "$TERMUX_PKG_SUGGESTS" && echo "Suggests: $TERMUX_PKG_SUGGESTS" >> DEBIAN/control
|
||||
|
||||
# Create DEBIAN/conffiles (see https://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html):
|
||||
|
Loading…
Reference in New Issue
Block a user