summaryrefslogtreecommitdiff
path: root/data/apt/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/apt/make.sh')
-rw-r--r--data/apt/make.sh22
1 files changed, 14 insertions, 8 deletions
diff --git a/data/apt/make.sh b/data/apt/make.sh
index 8e391d6d6..7c3f4d757 100644
--- a/data/apt/make.sh
+++ b/data/apt/make.sh
@@ -1,16 +1,22 @@
-tar -zxvf "${PKG_DATA}/apt_0.6.46.4-0.1.tar.gz"
-cd apt-0.6.46.4.1
+pkg:extract
+cd *
pkg:patch
autoconf
pkg:configure --disable-nls
make
-pkg:mkdir /etc/apt/sources.list.d
-pkg:mkdir /var/cache/apt/archives/partial
-pkg:mkdir /var/lib/apt/lists/partial
-pkg:mkdir /var/lib/apt/periodic
+
+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 /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 /usr/lib/dpkg/methods
-cp -a scripts/dselect "${PKG_DEST}/usr/lib/dpkg/methods/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