2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/dpkg
|
|
|
|
TERMUX_PKG_DESCRIPTION="Debian package management system"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-06-08 00:14:16 +02:00
|
|
|
TERMUX_PKG_VERSION=1.19.7
|
2019-08-11 18:37:34 +02:00
|
|
|
TERMUX_PKG_REVISION=9
|
2016-11-26 16:47:55 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz
|
2019-06-08 00:14:16 +02:00
|
|
|
TERMUX_PKG_SHA256=4c27fededf620c0aa522fff1a48577ba08144445341257502e7730f2b1a296e8
|
2019-05-21 13:48:36 +02:00
|
|
|
# with the extract.c.patch we remove the -p and --warning=no-timestamp tar options so we can use busybox tar
|
2019-08-11 18:37:34 +02:00
|
|
|
TERMUX_PKG_DEPENDS="bzip2, coreutils, diffutils, gzip, less, libbz2, liblzma, tar, xz-utils, zlib"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="dpkg-dev"
|
|
|
|
TERMUX_PKG_REPLACES="dpkg-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_ESSENTIAL=true
|
2019-05-21 13:48:36 +02:00
|
|
|
|
2017-01-30 01:24:50 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
ac_cv_lib_selinux_setexecfilecon=no
|
|
|
|
--disable-dselect
|
|
|
|
--disable-largefile
|
|
|
|
--disable-shared
|
|
|
|
--disable-start-stop-daemon
|
|
|
|
dpkg_cv_c99_snprintf=yes
|
|
|
|
HAVE_SETEXECFILECON_FALSE=#
|
|
|
|
--host=${TERMUX_ARCH}-linux
|
|
|
|
--without-selinux
|
|
|
|
"
|
2019-05-21 13:48:36 +02:00
|
|
|
|
2017-01-30 01:24:50 +01:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
bin/dpkg-architecture
|
|
|
|
bin/dpkg-buildflags
|
|
|
|
bin/dpkg-buildpackage
|
|
|
|
bin/dpkg-checkbuilddeps
|
|
|
|
bin/dpkg-distaddfile
|
2019-08-10 01:35:14 +02:00
|
|
|
bin/dpkg-genbuildinfo
|
2017-01-30 01:24:50 +01:00
|
|
|
bin/dpkg-genchanges
|
|
|
|
bin/dpkg-gencontrol
|
|
|
|
bin/dpkg-gensymbols
|
|
|
|
bin/dpkg-maintscript-helper
|
|
|
|
bin/dpkg-mergechangelogs
|
|
|
|
bin/dpkg-name
|
|
|
|
bin/dpkg-parsechangelog
|
|
|
|
bin/dpkg-scanpackages
|
|
|
|
bin/dpkg-scansources
|
|
|
|
bin/dpkg-shlibdeps
|
|
|
|
bin/dpkg-source
|
|
|
|
bin/dpkg-statoverride
|
|
|
|
bin/dpkg-vendor
|
2019-08-10 01:35:14 +02:00
|
|
|
include
|
|
|
|
lib
|
2017-01-30 01:24:50 +01:00
|
|
|
share/dpkg
|
|
|
|
share/man/man1/dpkg-architecture.1
|
|
|
|
share/man/man1/dpkg-buildflags.1
|
|
|
|
share/man/man1/dpkg-buildpackage.1
|
|
|
|
share/man/man1/dpkg-checkbuilddeps.1
|
|
|
|
share/man/man1/dpkg-distaddfile.1
|
2019-08-10 01:35:14 +02:00
|
|
|
share/man/man1/dpkg-genbuildinfo.1
|
2017-01-30 01:24:50 +01:00
|
|
|
share/man/man1/dpkg-genchanges.1
|
|
|
|
share/man/man1/dpkg-gencontrol.1
|
|
|
|
share/man/man1/dpkg-gensymbols.1
|
|
|
|
share/man/man1/dpkg-maintscript-helper.1
|
|
|
|
share/man/man1/dpkg-mergechangelogs.1
|
|
|
|
share/man/man1/dpkg-name.1
|
|
|
|
share/man/man1/dpkg-parsechangelog.1
|
|
|
|
share/man/man1/dpkg-scanpackages.1
|
|
|
|
share/man/man1/dpkg-scansources.1
|
|
|
|
share/man/man1/dpkg-shlibdeps.1
|
|
|
|
share/man/man1/dpkg-source.1
|
|
|
|
share/man/man1/dpkg-statoverride.1
|
|
|
|
share/man/man1/dpkg-vendor.1
|
|
|
|
share/man/man3
|
|
|
|
share/man/man5
|
|
|
|
share/perl5
|
2019-08-09 23:29:07 +02:00
|
|
|
share/polkit-1
|
2017-01-30 01:24:50 +01:00
|
|
|
"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2015-06-13 01:03:31 +02:00
|
|
|
export TAR=tar # To make sure dpkg tries to use "tar" instead of e.g. "gnutar" (which happens when building on OS X)
|
2017-01-30 01:24:50 +01:00
|
|
|
perl -p -i -e "s/TERMUX_ARCH/$TERMUX_ARCH/" $TERMUX_PKG_SRCDIR/configure
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|
2019-08-10 01:33:26 +02:00
|
|
|
|
|
|
|
termux_step_post_massage() {
|
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/alternatives"
|
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/info"
|
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/triggers"
|
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/updates"
|
|
|
|
}
|