Prefix all recipes with a number

This commit is contained in:
Reto Buerki
2013-01-17 15:22:11 +01:00
committed by Tobias Brunner
parent 0cc4063799
commit ee1cd88c7a
3 changed files with 0 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/make
PV = 1.4.16.3
PKG = iptables-$(PV)
TAR = $(PKG).tar.bz2
SRC = http://www.netfilter.org/projects/iptables/files/$(TAR)
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
CONFIG_OPTS =
all: install
$(TAR):
wget $(SRC)
$(PKG): $(TAR)
tar xfj $(TAR)
configure: $(PKG)
cd $(PKG) && ./configure $(CONFIG_OPTS)
build: configure
cd $(PKG) && make -j $(NUM_CPUS)
install: build
cd $(PKG) && make install