From 8022044087d1fbb7ae97294b55d709f726cc26da Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 13 Nov 2024 13:15:19 +0100 Subject: [PATCH] getopt: reviewed, YAML config --- System/getopt/build | 8 -------- System/getopt/files/config.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 System/getopt/files/config.yaml diff --git a/System/getopt/build b/System/getopt/build index 6f25994..b472075 100755 --- a/System/getopt/build +++ b/System/getopt/build @@ -1,13 +1,5 @@ #!/usr/bin/env modbuild -pbuild::set_download_url "http://frodo.looijaard.name/system/files/software/$P/$P-${V_PKG}.tar.gz" -pbuild::compile_in_sourcetree -pbuild::add_to_group System - -pbuild::pre_configure_Linux() { - pbuild::add_patch "files/Makefile.patch" -} - pbuild::configure() { : } diff --git a/System/getopt/files/config.yaml b/System/getopt/files/config.yaml new file mode 100644 index 0000000..a6f1774 --- /dev/null +++ b/System/getopt/files/config.yaml @@ -0,0 +1,17 @@ +--- +format: 1 +getopt: + defaults: + group: System + overlay: base + relstage: stable + patch_files: [files/Makefile.patch] + compile_in_sourcetree: true + urls: + - url: http://frodo.looijaard.name/system/files/software/$P/$P-${V_PKG}.tar.gz + shasums: + getopt-1.1.6.tar.gz: d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe + versions: + 1.1.6: + config: + build_requires: [gettext/0.19.8]