strongswan/testing/scripts/recipes/007_x509-ada.mk
Tobias Brunner e601b89c00 testing: Use latest tkm-rpc and x509-ada versions
Includes fixes for larger signatures, critical extensions and
utf8Strings in DNs.
2019-04-15 18:31:12 +02:00

25 lines
497 B
Makefile

#!/usr/bin/make
PKG = x509-ada
SRC = http://git.codelabs.ch/git/$(PKG).git
REV = caeea59c945945afd7dc092b37c85a9fef73a395
PREFIX = /usr/local/ada
all: install
.$(PKG)-cloned:
[ -d $(PKG) ] || git clone $(SRC) $(PKG)
@touch $@
.$(PKG)-checkout-$(REV): .$(PKG)-cloned
cd $(PKG) && git fetch && git checkout $(REV)
@touch $@
.$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)
cd $(PKG) && make tests && make
@touch $@
install: .$(PKG)-built-$(REV)
cd $(PKG) && make PREFIX=$(PREFIX) install