summaryrefslogtreecommitdiff
path: root/user/libxshmfence/APKBUILD
blob: 239e8695e5bfe9f5c82972e9c968da6fd52e8321 (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
33
34
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxshmfence
pkgver=1.3.2
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-dev"
subpackages="$pkgname-dev"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="e20a6827e370726cf50489a69f4a52b897f1c44e3eba8c72a4e626b08724e877d090770b8016765736d887d5d5eaba1fda9c29066e62d259b4d1e2064bc1626c  libxshmfence-1.3.2.tar.xz"