summaryrefslogtreecommitdiff
path: root/user/libpthread-stubs/APKBUILD
blob: eacd771e678710546ee193f6eac2175521651a31 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpthread-stubs
pkgver=0.5
pkgrel=0
pkgdesc="POSIX threading functions stubs for platforms missing them"
url="https://cgit.freedesktop.org/xcb/pthread-stubs"
arch="all"
options="!dbg"
license="X11"
depends=""
makedepends=""
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="a24f7c40dcaf5f6ca0085972117fed5ad0851f6fc1972fdab799d27236afaaa4f7baa93e40532f93984d313d94456819aaf4ec8f8d1bbb2e5c4fc76c31891d82  libpthread-stubs-0.5.tar.xz"