summaryrefslogtreecommitdiff
path: root/data/apt7/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/apt7/make.sh')
-rw-r--r--data/apt7/make.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/apt7/make.sh b/data/apt7/make.sh
new file mode 100644
index 000000000..fbfc6a7a2
--- /dev/null
+++ b/data/apt7/make.sh
@@ -0,0 +1,21 @@
+pkg:setup
+autoconf
+DPKG_ARCH=$(ls -d $(PKG_WORK_ dpkg)/dpkg-*/scripts) pkg:configure --disable-nls
+make
+
+pkg: mkdir -p /etc/apt/sources.list.d
+pkg: mkdir -p /var/cache/apt/archives/partial
+pkg: mkdir -p /var/lib/apt/lists/partial
+pkg: mkdir -p /var/lib/apt/periodic
+pkg: mkdir -p /var/log/apt
+
+pkg: mkdir -p /usr/bin /usr/lib/apt
+pkg: cp -a bin/apt-* /usr/bin
+pkg: cp -a bin/libapt-* /usr/lib
+pkg: cp -a bin/methods /usr/lib/apt
+
+pkg: mkdir -p /usr/lib/dpkg/methods
+pkg: cp -a scripts/dselect /usr/lib/dpkg/methods/apt
+
+pkg: mkdir -p /usr/include
+pkg: cp -a include/apt-pkg /usr/include