Version bump to 5.9.3dr1
[strongswan.git] / testing / scripts / recipes / 010_tkm.mk
1 #!/usr/bin/make
2
3 PKG = tkm
4 SRC = https://git.codelabs.ch/git/$(PKG).git
5 REV = b99aeb158b7701ea4a77184bff5ff38f8e26013a
6
7 export ADA_PROJECT_PATH=/usr/local/ada/lib/gnat
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 @rm -f .$(PKG)-checkout-* && touch $@
18
19 .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
20 cd $(PKG) && make
21 @rm -f .$(PKG)-built-* && touch $@
22
23 install: .$(PKG)-built-$(REV)
24 cd $(PKG) && make install