testing: Make strongSwan build recipe more configurable
[strongswan.git] / testing / scripts / recipes / 006_tkm-rpc.mk
1 #!/usr/bin/make
2
3 PKG = tkm-rpc
4 SRC = http://git.codelabs.ch/git/$(PKG).git
5 REV = v0.1
6
7 PREFIX = /usr/local/ada
8
9 export ADA_PROJECT_PATH=$(PREFIX)/lib/gnat
10
11 all: install
12
13 .$(PKG)-cloned:
14 git clone $(SRC) $(PKG)
15 cd $(PKG) && git checkout $(REV)
16 @touch $@
17
18 .$(PKG)-built: .$(PKG)-cloned
19 cd $(PKG) && make
20 @touch $@
21
22 install: .$(PKG)-built
23 cd $(PKG) && make PREFIX=$(PREFIX) install