smlinux/base/python-glad/python-glad.SMBuild
PktSurf fd5cb987b4 Renamed and repacked python tarball in base
Removed executable bit from some python package build files in base
2024-10-29 15:46:43 +05:30

27 lines
No EOL
588 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-glad
version=2.0.4
build=1sml
homepage="https://github.com/Dav1dde/glad"
desc="Python binding for Vulkan/Mesa GFX"
requires="python3"
prepbuilddir() {
mkandenterbuilddir
rm -rf glad-$version
tar xf $srcdir/glad-$version.tar.?z*
cd glad-$version
fixbuilddirpermissions
}
build() {
python3 setup.py install --root=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
be391ea7c4d43dbb681629c788175d566395108e95fed70acaaa49d170f34286b0706f81583728fd0e2b80d67770fbc20df1e7ecb6c2c9ed05769a50bdd9fd3d glad-2.0.4.tar.lz
"