blob: 0fdf12b4391f6dab1caa66bf211b7e79ab2031b9 (
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
47
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=libxshmfence
pkgver=1.1
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://xorg.freedesktop.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
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="2dd10448c1166e71a176206a8dfabe6d libxshmfence-1.1.tar.bz2"
sha256sums="dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe libxshmfence-1.1.tar.bz2"
sha512sums="ed3aae4a44849c11ce041df53d47667606dba5357059c13d5c0989205df57dfa626598db6ad66432114a80e69ab4118fb067877ea275897aab64d4bbf9bcd346 libxshmfence-1.1.tar.bz2"
|