blob: e859728a837a6d6d16037a13f750e0d691cb2196 [file] [log] [blame]
#!/bin/sh
$Id: README.NetBSD,v 1.1 2005/12/29 15:40:49 gdt Exp $
# This file is helpful for building quagga from cvs on NetBSD, and
# probably on any system using pkgsrc.
# One should have readline installed already (pkgsrc/devel/readline).
case $1 in
build)
autoreconf -i -s
LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \
./configure --prefix=/usr/quagga \
--sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \
--enable-exampledir=/usr/quagga/share/examples/zebra \
--enable-pkgsrcrcdir=/usr/quagga/etc/rc.d \
--enable-opaque-lsa --enable-vtysh
make
;;
install)
make install
;;
clean)
make clean
esac