diff options
Diffstat (limited to 'strata/cpe-wrt/iptables.morph')
-rw-r--r-- | strata/cpe-wrt/iptables.morph | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/strata/cpe-wrt/iptables.morph b/strata/cpe-wrt/iptables.morph new file mode 100644 index 00000000..72a6b2b7 --- /dev/null +++ b/strata/cpe-wrt/iptables.morph @@ -0,0 +1,19 @@ +name: iptables +kind: chunk + +configure-commands: +- autoreconf -ivf +- | + ./configure --enable-shared \ + --enable-devel \ + --with-xtlibdir=/usr/lib/iptables \ + --enable-static \ + --prefix=$PREFIX + +build-commands: +- make CFLAGS="-ffunction-sections -fdata-sections -DNO_LEGACY" LDFLAGS="-lm" + +install-commands: +- make install +- install extensions/libiptext*.so $DESTDIR$PREFIX/lib/ + |