|
|
@ -237,6 +237,7 @@ TERMUX_PKG_ESSENTIAL="" |
|
|
|
TERMUX_PKG_CONFLICTS="" # https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts |
|
|
|
TERMUX_PKG_CONFFILES="" |
|
|
|
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="" |
|
|
|
TERMUX_PKG_DEVPACKAGE_DEPENDS="" |
|
|
|
# Set if a host build should be done in TERMUX_PKG_HOSTBUILD_DIR: |
|
|
|
TERMUX_PKG_HOSTBUILD="" |
|
|
|
TERMUX_PKG_MAINTAINER="Fredrik Fornwall <fredrik@fornwall.net>" |
|
|
@ -557,7 +558,11 @@ termux_step_massage () { |
|
|
|
_DEVEL_SUBPACKAGE_FILE=$TERMUX_PKG_TMPDIR/${TERMUX_PKG_NAME}-dev.subpackage.sh |
|
|
|
echo TERMUX_SUBPKG_INCLUDE=\"include share/man/man3 lib/pkgconfig share/aclocal $TERMUX_PKG_INCLUDE_IN_DEVPACKAGE\" > $_DEVEL_SUBPACKAGE_FILE |
|
|
|
echo TERMUX_SUBPKG_DESCRIPTION=\"Development files for ${TERMUX_PKG_NAME}\" >> $_DEVEL_SUBPACKAGE_FILE |
|
|
|
echo TERMUX_SUBPKG_DEPENDS=\"$TERMUX_PKG_NAME\" >> $_DEVEL_SUBPACKAGE_FILE |
|
|
|
if [ -n "$TERMUX_PKG_DEVPACKAGE_DEPENDS" ]; then |
|
|
|
echo TERMUX_SUBPKG_DEPENDS=\"$TERMUX_PKG_NAME,$TERMUX_PKG_DEVPACKAGE_DEPENDS\" >> $_DEVEL_SUBPACKAGE_FILE |
|
|
|
else |
|
|
|
echo TERMUX_SUBPKG_DEPENDS=\"$TERMUX_PKG_NAME\" >> $_DEVEL_SUBPACKAGE_FILE |
|
|
|
fi |
|
|
|
if [ x$TERMUX_PKG_CONFLICTS != x ]; then |
|
|
|
# Assume that dev packages conflicts as well. |
|
|
|
echo "TERMUX_SUBPKG_CONFLICTS=${TERMUX_PKG_CONFLICTS}-dev" >> $_DEVEL_SUBPACKAGE_FILE |
|
|
|