]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Build current liboqs-master ikev2-qske-intermediate
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 2 Sep 2019 13:58:11 +0000 (15:58 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 18 Oct 2019 15:11:21 +0000 (17:11 +0200)
testing/scripts/recipes/011_liboqs.mk

index 738e5029fa74524414ffb9cec09a8f205dc87f4d..37e531295abf10d6135cc94aa843c8c909f23bfb 100644 (file)
@@ -1,21 +1,20 @@
 #!/usr/bin/make
 
 PKG = liboqs
-REV = nist-branch
-ZIP = $(PKG)-$(REV).zip
-SRC = https://github.com/open-quantum-safe/$(PKG)/archive/$(REV).zip
+ZIP = $(PKG)-master.zip
+SRC = https://github.com/open-quantum-safe/$(PKG)/archive/master.zip
 
 all: install
 
 $(ZIP):
        wget --ca-directory="/usr/share/ca-certificates/mozilla" $(SRC) -O $(ZIP)
 
-$(PKG)-$(REV): $(ZIP)
+$(PKG)-master: $(ZIP)
        unzip $(ZIP)
 
-.$(PKG)-built-$(REV): $(PKG)-$(REV)
-       cd $(PKG)-$(REV) && make -j $(NUM_CPUS)
+.$(PKG)-built: $(PKG)-master
+       cd $(PKG)-master && autoreconf -i && ./configure PREFIX=/usr && make -j $(NUM_CPUS)
        @touch $@
 
-install: .$(PKG)-built-$(REV)
-       cd $(PKG)-$(REV) && PREFIX=/usr make install
+install: .$(PKG)-built
+       cd $(PKG)-master && make install