aboutsummaryrefslogtreecommitdiffstats
path: root/community/glamor-egl/APKBUILD
blob: 67ba3074f39c5c1db214e437b1a4f9fa3abcf584 (plain) (blame)
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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=glamor-egl
pkgver=0.6.0
pkgrel=4
pkgdesc="X.org glamor library"
url="https://www.freedesktop.org/wiki/Software/Glamor"
arch="all"
license="MIT"
depends_dev="mesa-dev"
makedepends="$depends_dev xorg-server-dev"
subpackages="$pkgname-dev"
source="https://www.x.org/releases/individual/driver/glamor-egl-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="aa3a88e85ae069e487c88a1839c21b0404c5a2a343a63f2c1d71ffb8d86288eb42dfcb30c8cce4c417b361417e9fae7c1cdabadc07ad40bb97c995c410dc0c1b  glamor-egl-0.6.0.tar.bz2"