X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fiproute2;h=461289b02fef42b1027f65a011bf20fa80c5dffc;hb=1eb363044c6ee3115e62736aed4403b750082b44;hp=990869c3891507ed0dde86b6cfd8798aebc42cce;hpb=63214057431c558e4c216c4e3ea12c7b06bd4950;p=hvlinux.git diff --git a/stage2/pkg/iproute2 b/stage2/pkg/iproute2 index 990869c..461289b 100644 --- a/stage2/pkg/iproute2 +++ b/stage2/pkg/iproute2 @@ -1,15 +1,27 @@ #!/bin/bash -hvbuild() +hvconfig_pre() { # The arpd binary included in this package is dependent on Berkeley DB. # Because arpd is not a very common requirement on a base Linux system, # remove the dependency on Berkeley DB by applying the sed command below sed -i '/^TARGETS/s@arpd@@g' ${LFS_TMP}/${PACKAGE}/misc/Makefile +} - make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \ - MANDIR=/usr/share/man +hvbuild() +{ + cd ${LFS_TMP}/${PACKAGE} + + make DESTDIR= + make DESTDIR= SBINDIR=/sbin DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man install +} + +hvbuild_post() +{ + unset DESTDIR + unset SBINDIR + unset DOCDIR + unset MANDIR - make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \ - MANDIR=/usr/share/man install + cd bozo }