2 # Build script for openvswitch
7 ROOT=/tmp/opflex-prefix
13 ./configure --prefix="$ROOT" --enable-shared
15 DESTDIR=`pwd`/$DESTDIR make install
16 find lib ofproto -name "*.h" -exec cp --parents -t "$DESTDIR/$ROOT/include/openvswitch/" {} \;
19 tar -czf openvswitch.tgz *