summaryrefslogtreecommitdiff
path: root/.Attic/README.iputils
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-18 09:56:55 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-18 09:56:55 +0100
commit224768b40915233bf11a863946ffdcb2dda6a63f (patch)
tree3dc667797ff2eaa13874c07d5649f8cb846996cc /.Attic/README.iputils
parenta2216f4f15f92f6e4f6dc387b5b5ffaf48e0470b (diff)
downloadbootstrap32-224768b40915233bf11a863946ffdcb2dda6a63f.tar.xz
cleaned up some documentation and moved old things into .Attic
Diffstat (limited to '.Attic/README.iputils')
-rw-r--r--.Attic/README.iputils36
1 files changed, 36 insertions, 0 deletions
diff --git a/.Attic/README.iputils b/.Attic/README.iputils
new file mode 100644
index 0000000..b507a9e
--- /dev/null
+++ b/.Attic/README.iputils
@@ -0,0 +1,36 @@
+# for ping only, takes to many packages and ping is broken after
+# cross-compilation anyway (at least for me)
+
+# build packages for the i486-chroot
+####################################
+
+# basic packages
+PACKAGES=" \
+# TODO: iputils is for ping only, a little bit too many packages for
+# that.
+sysfsutils libidn nettle iputils"
+
+# sysfsutils and libidn, nettle for iputils
+SYSROOT_PACKAGES=" \
+sysfsutils libidn"
+
+# special patches for some packages
+###################################
+
+
+# libidn
+sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' libidn/PKGBUILD
+
+# sysfsutils
+sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' sysfsutils/PKGBUILD
+
+# nettle
+sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' PKGBUILD
+
+# iputils
+# no documentation and use git from host
+sed -i 's@\(make doc man\)@#\1@' iputils/PKGBUILD
+sed -i 's@^makedepends\(.*\)@#makedepends\1@g' iputils/PKGBUILD
+sed -i 's@make @make CC=i486-unknown-linux-gnu-cc LD=i486-unknown-linux-gnu-ld@g' iputils/PKGBUILD
+sed -i 's@\(install -m644 doc\)@#\1@' iputils/PKGBUILD
+sed -i 's@\("${pkgdir}"/usr/share\)@#\1@' iputils/PKGBUILD