|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt |
|
|
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager" |
|
|
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager" |
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
TERMUX_PKG_VERSION=1.4.9 |
|
|
TERMUX_PKG_VERSION=1.4.9 |
|
|
TERMUX_PKG_REVISION=22 |
|
|
TERMUX_PKG_REVISION=23 |
|
|
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz |
|
|
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz |
|
|
TERMUX_PKG_SHA256=d4d65e7c84da86f3e6dcc933bba46a08db429c9d933b667c864f5c0e880bac0d |
|
|
TERMUX_PKG_SHA256=d4d65e7c84da86f3e6dcc933bba46a08db429c9d933b667c864f5c0e880bac0d |
|
|
# apt-key requires utilities from coreutils, findutils, gpgv, grep, sed. |
|
|
# apt-key requires utilities from coreutils, findutils, gpgv, grep, sed. |
|
@ -27,12 +27,17 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
-DWITH_DOC=OFF |
|
|
-DWITH_DOC=OFF |
|
|
" |
|
|
" |
|
|
|
|
|
|
|
|
|
|
|
# ubuntu uses instead $PREFIX/lib instead of $PREFIX/libexec to |
|
|
|
|
|
# "Work around bug in GNUInstallDirs" (from apt 1.4.8 CMakeLists.txt). |
|
|
|
|
|
# Archlinux uses $PREFIX/libexec though, so let's force libexec->lib to |
|
|
|
|
|
# get same build result on ubuntu and archlinux. |
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="-DCMAKE_INSTALL_LIBEXECDIR=lib" |
|
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
bin/apt-cdrom |
|
|
bin/apt-cdrom |
|
|
bin/apt-extracttemplates |
|
|
bin/apt-extracttemplates |
|
|
bin/apt-sortpkgs |
|
|
bin/apt-sortpkgs |
|
|
etc/apt/apt.conf.d |
|
|
etc/apt/apt.conf.d |
|
|
lib/apt/apt-helper |
|
|
|
|
|
lib/apt/methods/bzip2 |
|
|
lib/apt/methods/bzip2 |
|
|
lib/apt/methods/cdrom |
|
|
lib/apt/methods/cdrom |
|
|
lib/apt/methods/mirror |
|
|
lib/apt/methods/mirror |
|
@ -40,7 +45,6 @@ lib/apt/methods/rred |
|
|
lib/apt/planners/ |
|
|
lib/apt/planners/ |
|
|
lib/apt/solvers/ |
|
|
lib/apt/solvers/ |
|
|
lib/dpkg/ |
|
|
lib/dpkg/ |
|
|
lib/libapt-inst.so |
|
|
|
|
|
" |
|
|
" |
|
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
termux_step_pre_configure() { |
|
@ -54,7 +58,6 @@ termux_step_pre_configure() { |
|
|
termux_step_post_make_install() { |
|
|
termux_step_post_make_install() { |
|
|
printf "# The main termux repository:\ndeb https://termux.org/packages/ stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list |
|
|
printf "# The main termux repository:\ndeb https://termux.org/packages/ stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list |
|
|
cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/ |
|
|
cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/ |
|
|
rm $TERMUX_PREFIX/include/apt-pkg -r |
|
|
|
|
|
|
|
|
|
|
|
# apt-transport-tor |
|
|
# apt-transport-tor |
|
|
ln -sfr $TERMUX_PREFIX/lib/apt/methods/http $TERMUX_PREFIX/lib/apt/methods/tor |
|
|
ln -sfr $TERMUX_PREFIX/lib/apt/methods/http $TERMUX_PREFIX/lib/apt/methods/tor |
|
|