dpkg: Update from 1.18.23 to 1.18.24
[termux-packages] / packages / dpkg / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=https://packages.debian.org/dpkg
2TERMUX_PKG_DESCRIPTION="Debian package management system"
9350a497 3TERMUX_PKG_VERSION=1.18.24
05ebefe8 4TERMUX_PKG_SRCURL=https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz
9350a497 5TERMUX_PKG_SHA256=d853081d3e06bfd46a227056e591f094e42e78fa8a5793b0093bad30b710d7b4
8047adc6
FF
6TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
7ac_cv_lib_selinux_setexecfilecon=no
8--disable-dselect
9--disable-largefile
10--disable-shared
11--disable-start-stop-daemon
12--disable-update-alternatives
13dpkg_cv_c99_snprintf=yes
14HAVE_SETEXECFILECON_FALSE=#
15--host=${TERMUX_ARCH}-linux
16--without-libbz2
17--without-selinux
18"
19TERMUX_PKG_RM_AFTER_INSTALL="
20bin/dpkg-architecture
21bin/dpkg-buildflags
22bin/dpkg-buildpackage
23bin/dpkg-checkbuilddeps
24bin/dpkg-distaddfile
25bin/dpkg-genchanges
26bin/dpkg-gencontrol
27bin/dpkg-gensymbols
28bin/dpkg-maintscript-helper
29bin/dpkg-mergechangelogs
30bin/dpkg-name
31bin/dpkg-parsechangelog
32bin/dpkg-scanpackages
33bin/dpkg-scansources
34bin/dpkg-shlibdeps
35bin/dpkg-source
36bin/dpkg-statoverride
37bin/dpkg-vendor
38lib/dpkg/parsechangelog
39lib/perl5
40share/dpkg
41share/man/man1/dpkg-architecture.1
42share/man/man1/dpkg-buildflags.1
43share/man/man1/dpkg-buildpackage.1
44share/man/man1/dpkg-checkbuilddeps.1
45share/man/man1/dpkg-distaddfile.1
46share/man/man1/dpkg-genchanges.1
47share/man/man1/dpkg-gencontrol.1
48share/man/man1/dpkg-gensymbols.1
49share/man/man1/dpkg-maintscript-helper.1
50share/man/man1/dpkg-mergechangelogs.1
51share/man/man1/dpkg-name.1
52share/man/man1/dpkg-parsechangelog.1
53share/man/man1/dpkg-scanpackages.1
54share/man/man1/dpkg-scansources.1
55share/man/man1/dpkg-shlibdeps.1
56share/man/man1/dpkg-source.1
57share/man/man1/dpkg-statoverride.1
58share/man/man1/dpkg-vendor.1
59share/man/man3
60share/man/man5
61share/perl5
62"
59f0d218 63# with the extract.c.patch we remove the -p and --warning=no-timestamp tar options so we can use busybox tar
9f6fba5c 64TERMUX_PKG_DEPENDS="busybox, liblzma"
59f0d218
FF
65TERMUX_PKG_ESSENTIAL=yes
66
67termux_step_pre_configure () {
68 export TAR=tar # To make sure dpkg tries to use "tar" instead of e.g. "gnutar" (which happens when building on OS X)
8047adc6 69 perl -p -i -e "s/TERMUX_ARCH/$TERMUX_ARCH/" $TERMUX_PKG_SRCDIR/configure
59f0d218 70}