]>
Commit | Line | Data |
---|---|---|
a3214b79 | 1 | #!/bin/sh |
2 | ||
3 | $Id: README.NetBSD,v 1.1 2005/12/29 15:40:49 gdt Exp $ | |
4 | ||
5 | # This file is helpful for building quagga from cvs on NetBSD, and | |
6 | # probably on any system using pkgsrc. | |
7 | # One should have readline installed already (pkgsrc/devel/readline). | |
8 | ||
9 | case $1 in | |
10 | ||
11 | build) | |
12 | autoreconf -i -s | |
13 | LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \ | |
14 | ./configure --prefix=/usr/quagga \ | |
15 | --sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \ | |
16 | --enable-exampledir=/usr/quagga/share/examples/zebra \ | |
17 | --enable-pkgsrcrcdir=/usr/quagga/etc/rc.d \ | |
18 | --enable-opaque-lsa --enable-vtysh | |
19 | make | |
20 | ;; | |
21 | ||
22 | install) | |
23 | make install | |
24 | ;; | |
25 | ||
26 | clean) | |
27 | make clean | |
28 | ||
29 | esac | |
30 |