aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-20 12:31:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-20 12:31:16 +0000
commit6032a352bda9511af0b98ac45a7eae86ca33cec2 (patch)
treec9c218c5c1dd86882ace8038d28b92dadb837d50
parentfae35c34680a2ede4a299431eb9c3d4f610fe823 (diff)
downloadaports-6032a352bda9511af0b98ac45a7eae86ca33cec2.tar.bz2
aports-6032a352bda9511af0b98ac45a7eae86ca33cec2.tar.xz
main/mesa: move demos to subpackage
-rw-r--r--main/mesa/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index e8e7b1fadd..949c859af9 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=3
+pkgrel=4
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="x86 x86_64"
@@ -17,6 +17,7 @@ subpackages="$pkgname-dev
$pkgname-dri-swrast:swrast
$pkgname-dri-tdfx:tdfx
$pkgname-dri-unichrome:unichrome
+ $pkgname-demos
"
makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
@@ -102,6 +103,12 @@ tdfx() { _mv_dri tdfx_dri; }
unichrome() { _mv_dri unichrome_dri; }
swrast() { _mv_dri swrast_dri; }
+demos() {
+ pkgdesc="Mesa demo applications"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
md5sums="6be2d343a0089bfd395ce02aaf8adb57 MesaLib-7.8.2.tar.bz2
757d9e2e06f48b1a52848be9b0307ced MesaDemos-7.8.2.tar.bz2
8d98e15310e0f2e1520beb9e6cb6ab41 mesa-7.6.1-uclibc.patch