Files
strongswan-ext/testing/scripts/recipes/007_x509-ada.mk
T
Tobias Brunner 1f97415fe7 testing: Use latest x509-ada release
This fixes an issue with newer compiler versions where crashes would be
caused if functions of the generated C X.509 parser are not aligned.
2020-09-03 15:24:37 +02:00

25 lines
463 B
Makefile

#!/usr/bin/make
PKG = x509-ada
SRC = http://git.codelabs.ch/git/$(PKG).git
REV = v0.1.2
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