view images/lfs-bootstrap/mnt/build/iproute2.sh @ 19:b151b87ddf35

The installed files should be world readable.
author Rob Landley <rob@landley.net>
date Sun, 06 Nov 2011 09:27:37 -0600
parents bcd2e358d57f
children
line wrap: on
line source

#!/bin/sh

# arpd needs berkeley DB, switch it off.
sed -i '/^TARGETS/s@arpd@@g' misc/Makefile &&

# bugfix, why this isn't a patch I have no idea.
sed -i '1289i\\tfilter.cloned = 2;' ip/iproute.c &&

# Don't be confused by symlinks
sed -i 's/ find / find -L /g' Makefile &&

make DESTDIR= -j $CPUS &&
make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \
  DOCDIR=/usr/share/doc/iproute2 install