main/dri3proto: new aport

This commit is contained in:
Natanael Copa 2014-04-21 06:43:37 +00:00
parent 0340330072
commit 4fba58cbd1

35
main/dri3proto/APKBUILD Normal file
View File

@ -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"