From ccc78e3573835bf2fd60b0ab038247c0baeec753 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 14 Nov 2023 15:12:49 +0100 Subject: [PATCH] nettle: build with YAML --- Libraries/nettle/build-xml | 6 ++++++ Libraries/nettle/files/config.yaml | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 Libraries/nettle/build-xml create mode 100644 Libraries/nettle/files/config.yaml diff --git a/Libraries/nettle/build-xml b/Libraries/nettle/build-xml new file mode 100755 index 0000000..a99bec2 --- /dev/null +++ b/Libraries/nettle/build-xml @@ -0,0 +1,6 @@ +#!/usr/bin/env modbuild + +# use system gcc to compile +declare -rx CC=gcc + +pbuild::add_configure_args "--disable-shared" diff --git a/Libraries/nettle/files/config.yaml b/Libraries/nettle/files/config.yaml new file mode 100644 index 0000000..ad0a590 --- /dev/null +++ b/Libraries/nettle/files/config.yaml @@ -0,0 +1,16 @@ +format: 1 +nettle: + defaults: + group: Libraries + relstage: stable + docfiles: [] + urls: + - url: https://ftp.gnu.org/gnu/nettle/nettle-${V_PKG}.tar.gz + shasums: + nettle-3.9.1.tar.gz: ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3 + versions: + 3.9.1: + config: + relstage: unstable + build_requires: [gmp/6.1.2-1] +