Add recipes for libtnc and TNC@FHH

This commit is contained in:
Tobias Brunner
2013-01-17 15:22:08 +01:00
parent 669fc9f9ec
commit d47b751850
6 changed files with 6750 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/make
PV = 1.25
PKG = libtnc-$(PV)
TAR = $(PKG).tar.gz
SRC = http://downloads.sourceforge.net/project/libtnc/libtnc/$(PV)/$(TAR)
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
CONFIG_OPTS = \
--sysconfdir=/etc
all: install
$(TAR):
wget $(SRC)
.$(PKG)-unpacked: $(TAR)
tar xfz $(TAR)
@touch $@
.$(PKG)-configured: .$(PKG)-unpacked
cd $(PKG) && ./configure $(CONFIG_OPTS)
@touch $@
.$(PKG)-built: .$(PKG)-configured
cd $(PKG) && make -j $(NUM_CPUS)
@touch $@
install: .$(PKG)-built
cd $(PKG) && make install