summaryrefslogblamecommitdiff
path: root/user/libpthread-stubs/APKBUILD
blob: 02af44664aae940e6bcf39b5f0276ccc9989674f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                 


                                                                    





                                                                 


















                                          
                                                                                                                                                                           
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libpthread-stubs
pkgver=0.4
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"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="0fec563f3833b84311b32cb13a4fd9832aeb0204c65b1541bf453d5d35693b2267c3cee656e00a4b8533b07a8f6320ca5c3672dcf8ab047cdac8628154c08954  libpthread-stubs-0.4.tar.bz2"