getopt: reviewed, YAML config

This commit is contained in:
2024-11-13 13:15:19 +01:00
parent fc84d926e4
commit 8022044087
2 changed files with 17 additions and 8 deletions

View File

@@ -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() {
:
}

View File

@@ -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]