Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt |
2 | TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager" | |
dc111072 | 3 | TERMUX_PKG_DEPENDS="libutil, libcurl, liblzma, dpkg, gpgv, libc++" |
e660fd6c FF |
4 | TERMUX_PKG_VERSION=1.4.8 |
5 | TERMUX_PKG_SHA256=767ad7d6efb64cde52faececb7d3c0bf49800b9fe06f3a5b0132ab4c01a5b8f8 | |
dc111072 | 6 | TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz |
dc111072 FF |
7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
8 | -DPERL_EXECUTABLE=`which perl` | |
9 | -DCMAKE_INSTALL_FULL_LOCALSTATEDIR=$TERMUX_PREFIX | |
10 | -DCOMMON_ARCH=$TERMUX_ARCH | |
11 | -DDPKG_DATADIR=$TERMUX_PREFIX/share/dpkg | |
12 | -DUSE_NLS=OFF | |
13 | -DWITH_DOC=OFF | |
14 | " | |
59f0d218 | 15 | TERMUX_PKG_ESSENTIAL=yes |
620ebd76 | 16 | TERMUX_PKG_CONFFILES="etc/apt/sources.list" |
dc111072 FF |
17 | TERMUX_PKG_CONFLICTS=apt-transport-https |
18 | TERMUX_PKG_REPLACES=apt-transport-https | |
19 | TERMUX_PKG_RM_AFTER_INSTALL=" | |
20 | bin/apt-cdrom | |
21 | bin/apt-extracttemplates | |
22 | bin/apt-mark | |
23 | bin/apt-sortpkgs | |
24 | etc/apt/apt.conf.d | |
25 | lib/apt/apt-helper | |
26 | lib/apt/methods/bzip2 | |
27 | lib/apt/methods/cdrom | |
28 | lib/apt/methods/mirror | |
29 | lib/apt/methods/rred | |
30 | lib/apt/planners/ | |
31 | lib/apt/solvers/ | |
32 | lib/dpkg/ | |
33 | lib/libapt-inst.so | |
34 | " | |
35 | ||
36 | termux_step_post_make_install() { | |
37 | printf "# The main termux repository:\ndeb [arch=all,${TERMUX_ARCH}] https://termux.net stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list | |
6eeaf551 FF |
38 | cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/ |
39 | rm $TERMUX_PREFIX/include/apt-pkg -r | |
59f0d218 | 40 | } |