Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=https://packages.debian.org/dpkg |
2 | TERMUX_PKG_DESCRIPTION="Debian package management system" | |
785a2dc3 | 3 | TERMUX_PKG_VERSION=1.18.23 |
05ebefe8 | 4 | TERMUX_PKG_SRCURL=https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz |
785a2dc3 | 5 | TERMUX_PKG_SHA256=cc08802a0cea2ccd0c10716bc71531ff9b9234dd454b83a59f71117a37f36923 |
8047adc6 FF |
6 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
7 | ac_cv_lib_selinux_setexecfilecon=no | |
8 | --disable-dselect | |
9 | --disable-largefile | |
10 | --disable-shared | |
11 | --disable-start-stop-daemon | |
12 | --disable-update-alternatives | |
13 | dpkg_cv_c99_snprintf=yes | |
14 | HAVE_SETEXECFILECON_FALSE=# | |
15 | --host=${TERMUX_ARCH}-linux | |
16 | --without-libbz2 | |
17 | --without-selinux | |
18 | " | |
19 | TERMUX_PKG_RM_AFTER_INSTALL=" | |
20 | bin/dpkg-architecture | |
21 | bin/dpkg-buildflags | |
22 | bin/dpkg-buildpackage | |
23 | bin/dpkg-checkbuilddeps | |
24 | bin/dpkg-distaddfile | |
25 | bin/dpkg-genchanges | |
26 | bin/dpkg-gencontrol | |
27 | bin/dpkg-gensymbols | |
28 | bin/dpkg-maintscript-helper | |
29 | bin/dpkg-mergechangelogs | |
30 | bin/dpkg-name | |
31 | bin/dpkg-parsechangelog | |
32 | bin/dpkg-scanpackages | |
33 | bin/dpkg-scansources | |
34 | bin/dpkg-shlibdeps | |
35 | bin/dpkg-source | |
36 | bin/dpkg-statoverride | |
37 | bin/dpkg-vendor | |
38 | lib/dpkg/parsechangelog | |
39 | lib/perl5 | |
40 | share/dpkg | |
41 | share/man/man1/dpkg-architecture.1 | |
42 | share/man/man1/dpkg-buildflags.1 | |
43 | share/man/man1/dpkg-buildpackage.1 | |
44 | share/man/man1/dpkg-checkbuilddeps.1 | |
45 | share/man/man1/dpkg-distaddfile.1 | |
46 | share/man/man1/dpkg-genchanges.1 | |
47 | share/man/man1/dpkg-gencontrol.1 | |
48 | share/man/man1/dpkg-gensymbols.1 | |
49 | share/man/man1/dpkg-maintscript-helper.1 | |
50 | share/man/man1/dpkg-mergechangelogs.1 | |
51 | share/man/man1/dpkg-name.1 | |
52 | share/man/man1/dpkg-parsechangelog.1 | |
53 | share/man/man1/dpkg-scanpackages.1 | |
54 | share/man/man1/dpkg-scansources.1 | |
55 | share/man/man1/dpkg-shlibdeps.1 | |
56 | share/man/man1/dpkg-source.1 | |
57 | share/man/man1/dpkg-statoverride.1 | |
58 | share/man/man1/dpkg-vendor.1 | |
59 | share/man/man3 | |
60 | share/man/man5 | |
61 | share/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 | 64 | TERMUX_PKG_DEPENDS="busybox, liblzma" |
59f0d218 FF |
65 | TERMUX_PKG_ESSENTIAL=yes |
66 | ||
67 | termux_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 | } |