Use Botan 2.18.0 for tests
[strongswan.git] / testing / scripts / recipes / 006_tkm-rpc.mk
1 #!/usr/bin/make
2
3 PKG = tkm-rpc
4 SRC = https://git.codelabs.ch/git/$(PKG).git
5 REV = 1235905c5c6fad5df1eecb6ba0447d5722753203
6
7 PREFIX = /usr/local/ada
8
9 export ADA_PROJECT_PATH=$(PREFIX)/lib/gnat
10
11 all: install
12
13 .$(PKG)-cloned:
14 [ -d $(PKG) ] || git clone $(SRC) $(PKG)
15 @touch $@
16
17 .$(PKG)-checkout-$(REV): .$(PKG)-cloned
18 cd $(PKG) && git fetch && git checkout $(REV)
19 @rm -f .$(PKG)-checkout-* && touch $@
20
21 .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
22 cd $(PKG) && make
23 @rm -f .$(PKG)-built-* && touch $@
24
25 install: .$(PKG)-built-$(REV)
26 cd $(PKG) && make PREFIX=$(PREFIX) install