README.NetBSD 644 B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/sh
  2. $Id$
  3. # This file is helpful for building quagga from cvs on NetBSD, and
  4. # probably on any system using pkgsrc.
  5. # One should have readline installed already (pkgsrc/devel/readline).
  6. case $1 in
  7. build)
  8. ./update-autotools
  9. LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \
  10. ./configure --prefix=/usr/quagga \
  11. --sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \
  12. --enable-exampledir=/usr/quagga/share/examples/zebra \
  13. --enable-pkgsrcrcdir=/usr/quagga/etc/rc.d \
  14. --enable-opaque-lsa --enable-vtysh
  15. make
  16. ;;
  17. install)
  18. make install
  19. ;;
  20. clean)
  21. make clean
  22. esac