Provide script to build Ada XFRM proxy

This commit is contained in:
Reto Buerki
2013-03-19 15:23:50 +01:00
committed by Tobias Brunner
parent 3150dbd3e3
commit f10f7fe261
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/make
PKG = xfrm-proxy
SRC = http://git.codelabs.ch/git/$(PKG).git
REV = v0.1
export ADA_PROJECT_PATH=/root/libraries/lib/gnat
all: install
.$(PKG)-cloned:
git clone $(SRC) $(PKG)
cd $(PKG) && git checkout $(REV)
@touch $@
.$(PKG)-built: .$(PKG)-cloned
cd $(PKG) && make
@touch $@
install: .$(PKG)-built
cd $(PKG) && make install