
Discarded --docdir build option, double quotes and made minor changes to several xorg build files
37 lines
886 B
Text
Executable file
37 lines
886 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=mesa-demos
|
|
version=8.4.0
|
|
build=1sml
|
|
homepage="https://www.mesa3d.org/"
|
|
download="https://archive.mesa3d.org//demos/mesa-demos-$version.tar.bz2"
|
|
desc="Mesa demo applications"
|
|
requires="mesa glew freeglut"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix= \
|
|
--disable-gles1 \
|
|
--with-system-data-files=/share/mesa-demos
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
install -m 0755 src/egl/opengl/{eglgears_x11,eglinfo,eglkms,egltri_x11,peglgears,xeglgears,xeglthreads} "$pkg/bin/"
|
|
|
|
cp $srcdir/LICENSE $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
a8ba981e9840334bc7f0b07ef30ac35d0cb56a9947a37bcf8abbb13e60190247540154678ec9addd9a6a6a1e4de93f26dfbf38252188327356201dcc153b8a81 mesa-demos-8.4.0.tar.lz
|
|
"
|