Annotation of embedaddon/strongswan/testing/scripts/recipes/005_anet.mk, revision 1.1.1.1
1.1 misho 1: #!/usr/bin/make
2:
3: PKG = anet
4: SRC = http://git.codelabs.ch/git/$(PKG).git
5: REV = c9bdee807f2fcd2b6ec2ad8fe4c814e1abb71358
6:
7: PREFIX = /usr/local/ada
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)
17: @touch $@
18:
19: .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
20: cd $(PKG) && make LIBRARY_KIND=static
21: @touch $@
22:
23: install: .$(PKG)-built-$(REV)
24: cd $(PKG) && make PREFIX=$(PREFIX) LIBRARY_KIND=static install
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>