strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add recipe for iptables
[strongswan.git]
/
testing
/
scripts
/
recipes
/
iptables.mk
1
#!/usr/bin/make
2
3
PV
=
1.4.16.3
4
PKG
=
iptables-
$(
PV
)
5
TAR
= $(
PKG
)
.
tar
.bz2
6
SRC
=
http
://
www.netfilter.org
/
projects
/
iptables
/
files
/$(
TAR
)
7
8
NUM_CPUS
:= $(
shell
getconf _NPROCESSORS_ONLN
)
9
10
CONFIG_OPTS
=
11
12
all
:
install
13
14
$(
TAR
):
15
wget
$(
SRC
)
16
17
$(
PKG
): $(
TAR
)
18
tar
xfj
$(
TAR
)
19
20
configure
: $(
PKG
)
21
cd
$(
PKG
) &&
.
/
configure
$(
CONFIG_OPTS
)
22
23
build
:
configure
24
cd
$(
PKG
) &&
make
-
j
$(
NUM_CPUS
)
25
26
install
:
build
27
cd
$(
PKG
) &&
make
install