Update package version to 2.3.0

This commit is contained in:
2025-12-28 11:06:08 +02:00
parent 6fc9403648
commit cb35435fda
2 changed files with 14 additions and 10 deletions
+13 -3
View File
@@ -1,9 +1,19 @@
name: glew name: glew
description: The OpenGL Extension Wrangler Library description: The OpenGL Extension Wrangler Library
version: 2.2.0 version: 2.3.0
revision: 1
url: https://github.com/nigels-com/glew url: https://github.com/nigels-com/glew
license: BSD-3-Clause,MIT,GPL2-or-later license: BSD-3-Clause,MIT,GPL2-or-later
architecture: any architecture: any
depends: ["glibc","glu","libglvnd"]
optional_depends: ["libx11"]
type: source type: source
depends:
- glibc
- glu
- libglvnd
optional_depends:
- libx11
downloads:
- url: https://github.com/nigels-com/glew/releases/download/glew-${BPM_PKG_VERSION}/glew-${BPM_PKG_VERSION}.tgz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: b261a06dfc8b970e0a1974488530e58dd2390acf68acb05b45235cd6fb17a086
+1 -7
View File
@@ -2,15 +2,9 @@
# 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
DOWNLOAD="https://github.com/nigels-com/glew/releases/download/glew-${BPM_PKG_VERSION}/glew-${BPM_PKG_VERSION}.tgz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory # The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location # This function is used for putting downloaded files to the correct location or applying patches
prepare() { prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE" cd "$BPM_SOURCE"
# Install libraries to /usr/lib # Install libraries to /usr/lib
sed -i 's%lib64%lib%g' config/Makefile.linux sed -i 's%lib64%lib%g' config/Makefile.linux