Compare commits
6
Commits
3dfb8cb120
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53a3015e16
|
||
|
|
66fce4b104
|
||
|
|
b1f842a670
|
||
|
|
a790b8a13f
|
||
|
|
6694587506
|
||
|
|
b6e815c62a
|
@@ -0,0 +1,3 @@
|
|||||||
|
# Ignore BPM archives and signatures
|
||||||
|
*.bpm
|
||||||
|
*.bpm.sig
|
||||||
+7
-1
@@ -3,6 +3,12 @@
|
|||||||
URL="https://www.gnu.org/software/binutils/"
|
URL="https://www.gnu.org/software/binutils/"
|
||||||
|
|
||||||
# Get version number
|
# Get version number
|
||||||
VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}.[0-9]{1,}(\.[0-9]{1,}|)')
|
VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?')
|
||||||
|
|
||||||
|
# Append '.0' if patch number is missing
|
||||||
|
DOT_COUNT=`tr -dc '.' <<< "$VERSION" | awk '{ print length; }'`
|
||||||
|
if [ $DOT_COUNT -eq 1 ]; then
|
||||||
|
VERSION="${VERSION}.0"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "$VERSION"
|
echo "$VERSION"
|
||||||
|
|||||||
+13
-5
@@ -1,22 +1,30 @@
|
|||||||
name: binutils
|
name: binutils
|
||||||
description: The GNU Binutils are a collection of binary tools
|
description: The GNU Binutils are a collection of binary tools
|
||||||
version: 2.45.1
|
version: 2.47.0
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://www.gnu.org/software/binutils/
|
url: https://www.gnu.org/software/binutils/
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
|
- flex
|
||||||
|
- gcc-libs
|
||||||
- glibc
|
- glibc
|
||||||
- jansson
|
- jansson
|
||||||
- libelf
|
- libelf
|
||||||
- zlib
|
- zlib
|
||||||
- zstd
|
- zstd
|
||||||
make_depends:
|
optional_depends:
|
||||||
|
- debuginfod:For debuginfod server/client functionality
|
||||||
|
- perl:For gprofng-display-html
|
||||||
|
check_depends:
|
||||||
- bc
|
- bc
|
||||||
|
- debuginfod
|
||||||
- dejagnu
|
- dejagnu
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION}.tar.xz
|
- url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION//.0/}.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 5fe101e6fe9d18fdec95962d81ed670fdee5f37e3f48f0bef87bddf862513aa5
|
checksum: 154ab23b60070e8f27013c22977f1129425d67d1e8acd6e13010e617811e4cff
|
||||||
@@ -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 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
|
# 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-readline \
|
||||||
--disable-sim \
|
--disable-sim \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
|
--with-debuginfod \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--with-system-zlib
|
--with-system-zlib
|
||||||
make tooldir=/usr
|
make tooldir=/usr
|
||||||
Reference in New Issue
Block a user