Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/zlib/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/zlib/DESCR')
-rw-r--r--i486-stage1/zlib/DESCR6
1 files changed, 6 insertions, 0 deletions
diff --git a/i486-stage1/zlib/DESCR b/i486-stage1/zlib/DESCR
new file mode 100644
index 0000000..32df420
--- /dev/null
+++ b/i486-stage1/zlib/DESCR
@@ -0,0 +1,6 @@
+# zlib is needed by cracklib, binutils, curl, file, libarchive, ...
+SYSROOT_INSTALL=1
+
+# prepare configure for cross-compilation
+sed -i "1!N; /autoreconf.*\n/ s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
+sed -i "s@make@make TARGETMACH=$TARGET_ARCH BUILDMACH=$BUILD_ARCH CROSS=$TARGET_ARCH CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld AS=$TARGET_ARCH-as@g" PKGBUILD