summaryrefslogblamecommitdiff
path: root/user/libxshmfence/APKBUILD
blob: f401d3849c94156f58f58b0e3681d866812f96e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                    
            








                                                    
                                                                          

         









                                  



                  


                                      
                                                                                                                                                                        
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxshmfence
pkgver=1.3.1
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="f0c33b97204d62dc8352e2728ce12694bdb83ccbd1fd11c19db17246cd62bcd3e675f5b5b88a4e14bda59b4174003c758c24a3d93abc4bf574fdadc3bf07da71  libxshmfence-1.3.1.tar.xz"