Provide script to build Ada XFRM proxy
authorReto Buerki <reet@codelabs.ch>
Fri, 25 Jan 2013 09:33:46 +0000 (10:33 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:50 +0000 (15:23 +0100)
testing/scripts/recipes/011_xfrm-proxy.mk [new file with mode: 0644]

diff --git a/testing/scripts/recipes/011_xfrm-proxy.mk b/testing/scripts/recipes/011_xfrm-proxy.mk
new file mode 100644 (file)
index 0000000..aea6970
--- /dev/null
@@ -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