aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-21 06:43:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-21 07:33:36 +0000
commit4fba58cbd18d5be700e41ce45fd36b4e8e30e2e2 (patch)
treed5a8a680af00cbad7bba4926b08bb04726ac83e9
parent03403300726f78a984d2c08b724526afacbb592a (diff)
downloadaports-4fba58cbd18d5be700e41ce45fd36b4e8e30e2e2.tar.bz2
aports-4fba58cbd18d5be700e41ce45fd36b4e8e30e2e2.tar.xz
main/dri3proto: new aport
-rw-r--r--main/dri3proto/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/dri3proto/APKBUILD b/main/dri3proto/APKBUILD
new file mode 100644
index 0000000000..19ec2a9ac8
--- /dev/null
+++ b/main/dri3proto/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dri3proto
+pkgver=1.0
+pkgrel=0
+pkgdesc="X11 DRI 3 protocol"
+url="http://xorg.freedesktop.org/"
+arch="all"
+license="custom"
+depends=""
+makedepends=""
+source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="a3d2cbe60a9ca1bf3aea6c93c817fee3 dri3proto-1.0.tar.bz2"
+sha256sums="01be49d70200518b9a6b297131f6cc71f4ea2de17436896af153226a774fc074 dri3proto-1.0.tar.bz2"
+sha512sums="d2925bc2e2bfb3f30c4dc3082d84dc6a2e7d8ea02021ea02d681cbf92e6b256e9e4e0f5abfc394aa0c7762d841b1c8f82d2098c616ca1d7f4a3b5fd8a54f01f8 dri3proto-1.0.tar.bz2"