From a790b8a13f6ec7e236d577e38d843e49223e43b9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 13 Jun 2026 19:58:52 +0300 Subject: [PATCH] Switch to new package format --- pkg.info => info.yml | 9 +++++++-- source.sh => recipe.sh | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) rename pkg.info => info.yml (76%) rename source.sh => recipe.sh (96%) diff --git a/pkg.info b/info.yml similarity index 76% rename from pkg.info rename to info.yml index d778a8f..da04857 100644 --- a/pkg.info +++ b/info.yml @@ -1,7 +1,7 @@ name: binutils description: The GNU Binutils are a collection of binary tools version: 2.46.0 -revision: 1 +revision: 2 url: https://www.gnu.org/software/binutils/ license: GPL3-or-later maintainers: @@ -9,13 +9,18 @@ maintainers: architecture: any type: source depends: + - gcc-libs - glibc - jansson - libelf - zlib - zstd -make_depends: +optional_depends: + - debuginfod:For debuginfod server/client functionality + - perl:For gprofng-display-html +check_depends: - bc + - debuginfod - dejagnu downloads: - url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION}.tar.xz diff --git a/source.sh b/recipe.sh similarity index 96% rename from source.sh rename to recipe.sh index fb48fe5..1553639 100644 --- a/source.sh +++ b/recipe.sh @@ -1,4 +1,4 @@ -# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package +# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT @@ -32,6 +32,7 @@ build() { --disable-readline \ --disable-sim \ --disable-werror \ + --with-debuginfod \ --with-pic \ --with-system-zlib make tooldir=/usr