Annotation of embedaddon/strongswan/testing/scripts/recipes/006_tkm-rpc.mk, revision 1.1
1.1 ! misho 1: #!/usr/bin/make
! 2:
! 3: PKG = tkm-rpc
! 4: SRC = http://git.codelabs.ch/git/$(PKG).git
! 5: REV = 075d22871cf81d497aac656c7f03a513278b641c
! 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>