Browse Source

Add TERMUX_PKG_CONFLICTS support

android-5
Fredrik Fornwall 10 years ago
parent
commit
a8c61c7d20
  1. 2
      build-package.sh
  2. 0
      packages/libutil/build.sh
  3. 0
      packages/libutil/pty.c
  4. 0
      packages/libutil/pty.h

2
build-package.sh

@ -175,6 +175,7 @@ TERMUX_PKG_FOLDERNAME=""
TERMUX_PKG_KEEP_STATIC_LIBRARIES="false"
TERMUX_PKG_KEEP_HEADER_FILES="false"
TERMUX_PKG_ESSENTIAL=""
TERMUX_PKG_CONFLICTS="" # https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts
TERMUX_PKG_CONFFILES=""
# Set if a host build should be done in TERMUX_PKG_HOSTBUILD_DIR:
TERMUX_PKG_HOSTBUILD=""
@ -642,6 +643,7 @@ Homepage: $TERMUX_PKG_HOMEPAGE
HERE
test ! -z "$TERMUX_PKG_DEPENDS" && echo "Depends: $TERMUX_PKG_DEPENDS" >> DEBIAN/control
test ! -z "$TERMUX_PKG_ESSENTIAL" && echo "Essential: yes" >> DEBIAN/control
test ! -z "$TERMUX_PKG_CONFLICTS" && echo "Conflicts: $TERMUX_PKG_CONFLICTS" >> DEBIAN/control
# Create DEBIAN/conffiles (see https://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html):
for f in $TERMUX_PKG_CONFFILES; do echo $TERMUX_PREFIX/$f >> DEBIAN/conffiles; done

0
disabled-packages/libutil/build.sh → packages/libutil/build.sh

0
disabled-packages/libutil/pty.c → packages/libutil/pty.c

0
disabled-packages/libutil/pty.h → packages/libutil/pty.h

Loading…
Cancel
Save