Provide script to build Ada XFRM proxy
[strongswan.git] / testing / scripts / recipes / 005_anet.mk
1 #!/usr/bin/make
2
3 PKG = anet
4 SRC = http://git.codelabs.ch/git/$(PKG).git
5 REV = v0.2.2
6
7 all: install
8
9 .$(PKG)-cloned:
10 git clone $(SRC) $(PKG)
11 cd $(PKG) && git checkout $(REV)
12 @touch $@
13
14 .$(PKG)-built: .$(PKG)-cloned
15 cd $(PKG) && make tests && make LIBRARY_KIND=static
16 @touch $@
17
18 install: .$(PKG)-built
19 cd $(PKG) && make LIBRARY_KIND=static install