smlinux/xorg/glew/glew.SMBuild
PktSurf deaff10308 Added libpsl to base and updated base build list
Removed removestaticlibs function call from xorg/glew
Upgraded xorg/libxcb to 1.15
Upgraded xorg/vala to 0.54.6
Upgraded xorg/xcb-proto to 1.15.2
Upgraded xorg/xrdb to 1.2.1
Removed --sysconfdir build option from xorg/xtrans
Switched xorg/{glew,xauth} source tarballs to lzip
2022-10-05 08:29:35 +05:30

30 lines
No EOL
746 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-$version.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/
mkfinalpkg
}
sha512sums="
6259f4fe42ffecfa77ddca30f61f3bd009d94bb57634db32b494dafcf4f5f6129fae46ed3325b0cd0d7c6ed53a6ac2be53de2ab54c79525e0a5f98288cd89d12 glew-2.1.0.tar.lz
"