aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxshmfence/APKBUILD
blob: c87458653757566b6189be8cb36fbfeb50ac14b1 (plain)
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
33
34
35
36
37
38
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=libxshmfence
pkgver=1.3
pkgrel=0
pkgdesc="X11 shared memory fences"
url="https://www.x.org/"
arch="all"
license="MIT"
depends=""
depends_dev="linux-headers"
makedepends="$depends_dev util-macros xorgproto"
install=""
subpackages="$pkgname-dev"
source="https://www.x.org/releases/individual/lib/libxshmfence-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--enable-futex
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="c446e055f8fac62b9aa266132289a4cfc030282147974c45ce96d1768a98d1afb997470e58e4a68513174c404cbf373bdde2f0cd4b34abdbce1d89dd0b6fe2b7  libxshmfence-1.3.tar.bz2"