Provide script to build Ada XFRM proxy
This commit is contained in:
committed by
Tobias Brunner
parent
3150dbd3e3
commit
f10f7fe261
@@ -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
|
||||
Reference in New Issue
Block a user