Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.Attic/README.iputils
blob: b507a9e024d265197a3b8277d932d65c256fc3f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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