blob: 01d2c9a84dabe8e012dfc5cfb536286776972150 (
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
39
40
41
42
43
44
45
46
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=libxshmfence
pkgver=1.2
pkgrel=0
pkgdesc="X11 shared memory fences"
url="http://www.x.org/"
arch="all"
license="MIT"
depends=""
depends_dev="xproto"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.x.org/releases/individual/lib/libxshmfence-$pkgver.tar.bz2"
_builddir="$srcdir"/libxshmfence-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="66662e76899112c0f99e22f2fc775a7e libxshmfence-1.2.tar.bz2"
sha256sums="d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c libxshmfence-1.2.tar.bz2"
sha512sums="340a6dff5c7ce7f0fe89d8094ee91a0572c8bf0da888861c5262d6a65a13ecad0e2a079949ccc115e15a2d0d108c4f1ba1743874289cacbbc17aa3a05cd8e072 libxshmfence-1.2.tar.bz2"
|