Update package version to 2.3.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user