Merge branch 'forecast'
[strongswan.git] / testing / scripts / recipes / 007_x509-ada.mk
1 #!/usr/bin/make
2
3 PKG = x509-ada
4 SRC = http://git.codelabs.ch/git/$(PKG).git
5 REV = v0.1.1
6
7 PREFIX = /usr/local/ada
8
9 all: install
10
11 $(PKG):
12 git clone $(SRC) $(PKG)
13
14 .$(PKG)-cloned-$(REV): $(PKG)
15 cd $(PKG) && git fetch && git checkout $(REV)
16 @touch $@
17
18 .$(PKG)-built-$(REV): .$(PKG)-cloned-$(REV)
19 cd $(PKG) && make tests && make
20 @touch $@
21
22 install: .$(PKG)-built-$(REV)
23 cd $(PKG) && make PREFIX=$(PREFIX) install