diff options
Diffstat (limited to 'testing/scripts/recipes/005_anet.mk')
-rw-r--r-- | testing/scripts/recipes/005_anet.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/scripts/recipes/005_anet.mk b/testing/scripts/recipes/005_anet.mk new file mode 100644 index 000000000..1ecb7b294 --- /dev/null +++ b/testing/scripts/recipes/005_anet.mk @@ -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 |