From cb35435fda7e036666ea4105304f7ea0db387528 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 28 Dec 2025 11:06:08 +0200 Subject: [PATCH] Update package version to 2.3.0 --- pkg.info | 16 +++++++++++++--- source.sh | 8 +------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index 86e9e38..adb30cc 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,19 @@ name: glew description: The OpenGL Extension Wrangler Library -version: 2.2.0 +version: 2.3.0 +revision: 1 url: https://github.com/nigels-com/glew license: BSD-3-Clause,MIT,GPL2-or-later architecture: any -depends: ["glibc","glu","libglvnd"] -optional_depends: ["libx11"] 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 diff --git a/source.sh b/source.sh index 5252ae9..e044561 100644 --- a/source.sh +++ b/source.sh @@ -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 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 -# 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() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" # Install libraries to /usr/lib sed -i 's%lib64%lib%g' config/Makefile.linux