# SliTaz package receipt. PACKAGE="libpthread-stubs" VERSION="0.2" CATEGORY="x-window" SHORT_DESC="Weak aliases for pthread functions." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://xcb.freedesktop.org" WGET_URL="$WEB_SITE/dist/$TARBALL" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make -j 1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }