# Maintainer: PktSurf <smlinux@pktsurf.in>
app=glu
version=9.0.1
build=1sml
homepage="https://cgit.freedesktop.org/mesa/glu/"
download="https://archive.mesa3d.org/glu/glu-$version.tar.xz"
desc="Mesa OpenGL Utility library"
requires="mesa glew"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    --disable-static 

  make
  make install DESTDIR=$pkg

  mkfinalpkg
}

sha512sums="
5d950b14d3daa42549bc0ae8e75e84e5ac6e3b8851d207965200663dc28082e194b0ce7965b8f588a0d55eb088b1d4af305d1014068028f67ad6e2a65e691ff0  glu-9.0.1.tar.lz
"
