Annotation of embedaddon/strongswan/testing/scripts/recipes/008_xfrm-ada.mk, revision 1.1.1.1

1.1       misho       1: #!/usr/bin/make
                      2: 
                      3: PKG = xfrm-ada
                      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:        [ -d $(PKG) ] || git clone $(SRC) $(PKG)
                     15:        @touch $@
                     16: 
                     17: .$(PKG)-checkout-$(REV): .$(PKG)-cloned
                     18:        cd $(PKG) && git fetch && git checkout $(REV)
                     19:        @touch $@
                     20: 
                     21: .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
                     22:        cd $(PKG) && make
                     23:        @touch $@
                     24: 
                     25: install: .$(PKG)-built-$(REV)
                     26:        cd $(PKG) && make PREFIX=$(PREFIX) install

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