summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mesa/APKBUILD7
-rw-r--r--testing/vblade/APKBUILD34
2 files changed, 40 insertions, 1 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index db4855a3b..e8e7b1fad 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=7.8.2
-pkgrel=1
+pkgrel=3
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="x86 x86_64"
@@ -22,6 +22,7 @@ subpackages="$pkgname-dev
makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
dri2proto xextproto libx11-dev glproto python libxt-dev"
source="ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
+ ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaDemos-$pkgver.tar.bz2
mesa-7.6.1-uclibc.patch
mesa-7.8-git.patch"
@@ -73,6 +74,9 @@ build() {
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
+ mkdir -p "$pkgdir"/usr/bin
+ cp "$_builddir"/progs/xdemos/glxinfo "$pkgdir"/usr/bin/glxinfo || return 1
+ cp "$_builddir"/progs/xdemos/glxgears "$pkgdir"/usr/bin/glxgears || return 1
}
@@ -99,5 +103,6 @@ unichrome() { _mv_dri unichrome_dri; }
swrast() { _mv_dri swrast_dri; }
md5sums="6be2d343a0089bfd395ce02aaf8adb57 MesaLib-7.8.2.tar.bz2
+757d9e2e06f48b1a52848be9b0307ced MesaDemos-7.8.2.tar.bz2
8d98e15310e0f2e1520beb9e6cb6ab41 mesa-7.6.1-uclibc.patch
397c1249edcf03227697fef3f7129fe4 mesa-7.8-git.patch"
diff --git a/testing/vblade/APKBUILD b/testing/vblade/APKBUILD
new file mode 100644
index 000000000..383b15c19
--- /dev/null
+++ b/testing/vblade/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=vblade
+pkgver=20
+pkgrel=0
+pkgdesc="virtual AoE blade server"
+url="http://aoetools.sourceforge.net/"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages=
+source="http://downloads.sourceforge.net/aoetools/$pkgname-$pkgver.tgz"
+arch="all"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/sbin
+ mkdir -p "$pkgdir"/usr/share/man/man8
+ make sbindir="$pkgdir"/usr/sbin mandir="$pkgdir"/usr/share/man install
+}
+
+md5sums="3c80e4a6bc7d66ae0c235b88cb44bd59 vblade-20.tgz"