]> git.ipfire.org Git - thirdparty/strongswan.git/blame - testing/scripts/recipes/006_tkm-rpc.mk
testing: Use latest tkm-rpc and x509-ada versions
[thirdparty/strongswan.git] / testing / scripts / recipes / 006_tkm-rpc.mk
CommitLineData
b491ee4e
RB
1#!/usr/bin/make
2
3PKG = tkm-rpc
4SRC = http://git.codelabs.ch/git/$(PKG).git
e601b89c 5REV = 075d22871cf81d497aac656c7f03a513278b641c
b491ee4e 6
3db17b0c
RB
7PREFIX = /usr/local/ada
8
9export ADA_PROJECT_PATH=$(PREFIX)/lib/gnat
b491ee4e
RB
10
11all: install
12
67fd36e8
TB
13.$(PKG)-cloned:
14 [ -d $(PKG) ] || git clone $(SRC) $(PKG)
15 @touch $@
93fac61d 16
67fd36e8 17.$(PKG)-checkout-$(REV): .$(PKG)-cloned
93fac61d 18 cd $(PKG) && git fetch && git checkout $(REV)
b491ee4e
RB
19 @touch $@
20
67fd36e8 21.$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
9c2aba27 22 cd $(PKG) && make
b491ee4e
RB
23 @touch $@
24
93fac61d 25install: .$(PKG)-built-$(REV)
3db17b0c 26 cd $(PKG) && make PREFIX=$(PREFIX) install