summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2005-12-29 15:40:49 +0000
committergdt <gdt>2005-12-29 15:40:49 +0000
commita3214b79aceed58ae638afe62d9db149f3bc81c7 (patch)
tree95a7481d6f9149cc2eae16da3616d90609875045
parentc9c93d50cc9cae2f7878434431eafab8f7ee8d89 (diff)
shell script and hints for building on NetBSD. (gdt deleted private
copy by accident when getting a fresh checkout, and on recovery would like to have it safe, and also it may be useful to others.)
-rwxr-xr-xREADME.NetBSD30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.NetBSD b/README.NetBSD
new file mode 100755
index 00000000..e859728a
--- /dev/null
+++ b/README.NetBSD
@@ -0,0 +1,30 @@
+#!/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
+