Annotation of embedaddon/strongswan/testing/scripts/recipes/006_tkm-rpc.mk, revision 1.1.1.2

1.1       misho       1: #!/usr/bin/make
                      2: 
                      3: PKG = tkm-rpc
1.1.1.2 ! misho       4: SRC = https://git.codelabs.ch/git/$(PKG).git
        !             5: REV = 1235905c5c6fad5df1eecb6ba0447d5722753203
1.1       misho       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)
1.1.1.2 ! misho      19:        @rm -f .$(PKG)-checkout-* && touch $@
1.1       misho      20: 
                     21: .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
                     22:        cd $(PKG) && make
1.1.1.2 ! misho      23:        @rm -f .$(PKG)-built-* && touch $@
1.1       misho      24: 
                     25: install: .$(PKG)-built-$(REV)
                     26:        cd $(PKG) && make PREFIX=$(PREFIX) install

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