Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/curl
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-04 09:37:37 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-04 09:37:37 +0100
commit043b28ac8ebcaedac5d39bdf7f1f366b7818a666 (patch)
tree4f7784dc6b5530bbb7623d0ca2ddb4c71beb3c40 /packages-i486-stage1/curl
parent7be0daa504d7c43e20dc5583350417bff8d0f474 (diff)
reorganized directory structure for package description, patches and other files
Diffstat (limited to 'packages-i486-stage1/curl')
-rw-r--r--packages-i486-stage1/curl26
1 files changed, 0 insertions, 26 deletions
diff --git a/packages-i486-stage1/curl b/packages-i486-stage1/curl
deleted file mode 100644
index 88b092f..0000000
--- a/packages-i486-stage1/curl
+++ /dev/null
@@ -1,26 +0,0 @@
-# curl is needed for pacman
-SYSROOT_INSTALL=1
-
-# prepare configure for cross-compilation
-sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
-
-# build with minimal features, we don't need support for those protocols
-# in stage1, basic http(s), ftp is enough (other protocols draw in quite
-# some dependencies otherwise)
-sed -i "/depends=/s/'krb5'//" PKGBUILD
-sed -i "/depends=/s/'libssh2'//" PKGBUILD
-sed -i '/--prefix=\/usr/ a \ --without-libssh2 \\' PKGBUILD
-sed -i "/depends=/s/'libpsl'//" PKGBUILD
-sed -i '/--prefix=\/usr/ a \ --without-libpsl \\' PKGBUILD
-sed -i "/depends=/s/'libnghttp2'//" PKGBUILD
-sed -i '/--prefix=\/usr/ a \ --without-nghttp2 \\' PKGBUILD
-sed -i '/--prefix=\/usr/ a \ --without-gssapi \\' PKGBUILD
-
-# no ca-certificates, needs tons of tools to build (like p11-kit), so we
-# create a fake one with certificates from the host (the ca crts from
-# ca-certificates-utils should be enough actually)
-# TODO: is this LE/BE-safe?
-sed -i "/depends=/s/'ca-certificates'//" PKGBUILD
-
-# zsh, perl is used to create a completion file for curl and zsh
-sed -i '/--prefix=\/usr/ a \ --without-zsh-functions-dir \\' PKGBUILD