]> git.ipfire.org Git - thirdparty/strongswan.git/blob - testing/scripts/recipes/007_x509-ada.mk
57a106dea42dcb5b7a73693170e6f6c1db2d0c47
[thirdparty/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)-cloned:
12 [ -d $(PKG) ] || git clone $(SRC) $(PKG)
13 @touch $@
14
15 .$(PKG)-checkout-$(REV): .$(PKG)-cloned
16 cd $(PKG) && git fetch && git checkout $(REV)
17 @touch $@
18
19 .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
20 cd $(PKG) && make tests && make
21 @touch $@
22
23 install: .$(PKG)-built-$(REV)
24 cd $(PKG) && make PREFIX=$(PREFIX) install