Annotation of embedaddon/strongswan/testing/scripts/recipes/009_xfrm-proxy.mk, revision 1.1.1.2

1.1       misho       1: #!/usr/bin/make
                      2: 
                      3: PKG = xfrm-proxy
1.1.1.2 ! misho       4: SRC = https://git.codelabs.ch/git/$(PKG).git
1.1       misho       5: REV = v0.1
                      6: 
                      7: export ADA_PROJECT_PATH=/usr/local/ada/lib/gnat
                      8: 
                      9: all: install
                     10: 
                     11: .$(PKG)-cloned:
                     12:        [ -d $(PKG) ] || git clone $(SRC) $(PKG)
                     13:        @touch $@
                     14: 
                     15: .$(PKG)-checkout-$(REV): .$(PKG)-cloned
                     16:        cd $(PKG) && git fetch && git checkout $(REV)
1.1.1.2 ! misho      17:        @rm -f .$(PKG)-checkout-* && touch $@
1.1       misho      18: 
                     19: .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
                     20:        cd $(PKG) && make
1.1.1.2 ! misho      21:        @rm -f .$(PKG)-built-* && touch $@
1.1       misho      22: 
                     23: install: .$(PKG)-built-$(REV)
                     24:        cd $(PKG) && make install

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>