summaryrefslogtreecommitdiff
path: root/strata/cpe-wrt/iptables.morph
blob: 72a6b2b78c71e84b1a5849cb2145bb3bc907593c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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/