31 lines
763 B
Text
Executable file
31 lines
763 B
Text
Executable file
app=glew
|
|
version=2.1.0
|
|
build=1sml
|
|
homepage="https://github.com/nigels-com/glew"
|
|
download="https://github.com/nigels-com/glew/archive/refs/tags/glew-2.1.0.tar.gz"
|
|
desc="The OpenGL Extension Wrangler Library"
|
|
requires="mesa"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
# Remove the DOS linefeeds from config.guess
|
|
TEMPFILE=$(mktemp)
|
|
fromdos < config/config.guess ; rm -f $TEMPFILE
|
|
|
|
make install.all GLEW_DEST="$pkg" LIBDIR="$pkg"/lib
|
|
|
|
cp LICENSE.txt $pkgdocs/
|
|
removestaticlibs
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
b448d10c330373497c5cdc628194de28a6d7b7c859bfdc8b143622593698e9f6877f9480b1ac8c88e1c5e398d36dd1003de6f5579ea50497cfde749f1fd161ea glew-2.1.0.tar.xz
|
|
"
|