1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/sh NAME="libpthread-stubs" DESC="Pthread functions stubs for platforms missing them" MAKEDEPS="" PKG_VER=0.4 SOURCE="https://xcb.freedesktop.org/dist/libpthread-stubs-$PKG_VER.tar.bz2" build() { ./configure \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$PKG_DEST" install }