Provide recipes to build tkm and required libraries

This commit is contained in:
Reto Buerki
2013-03-19 15:23:50 +01:00
committed by Tobias Brunner
parent 3fc766d61e
commit b491ee4ecd
6 changed files with 105 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/make
PKG = anet
SRC = http://git.codelabs.ch/git/$(PKG).git
REV = v0.2.2
all: install
.$(PKG)-cloned:
git clone $(SRC) $(PKG)
cd $(PKG) && git checkout $(REV)
@touch $@
.$(PKG)-built: .$(PKG)-cloned
cd $(PKG) && make tests && make LIBRARY_KIND=static
@touch $@
install: .$(PKG)-built
cd $(PKG) && make LIBRARY_KIND=static install