blob: ef871587c4ad66b402b84d0ec04ab8d3c11829aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa-demos
pkgver=8.1.0
pkgrel=0
pkgdesc="Mesa demos and utils"
url="http://mesa3d.sourceforge.net"
arch="all"
license="custom"
depends=""
depends_dev=
makedepends="$depends_dev mesa-dev glew-dev glu-dev automake autoconf libtool"
install=""
subpackages=
source="ftp://ftp.freedesktop.org/pub/mesa/demos/$pkgver/$pkgname-$pkgver.tar.bz2
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1
esac
done
}
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure --prefix=/usr
make V=1 || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="9df33ba69a26bbfbc7c8148602e59542 mesa-demos-8.1.0.tar.bz2"
sha256sums="9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828 mesa-demos-8.1.0.tar.bz2"
sha512sums="4832690cd7fb7bb4caccde039cb68baf9213e102ca9212541da499941879b719c1a7ee4038b3e0fde42a92bd6589a90b8ec842982aba81ff507e6ea55054a9ed mesa-demos-8.1.0.tar.bz2"
|