wok view libpthread-stubs/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 9119faf2898f
children 049b98907ea8
line source
1 # SliTaz package receipt.
3 PACKAGE="libpthread-stubs"
4 VERSION="0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Weak aliases for pthread functions."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="gcc"
11 WEB_SITE="http://xcb.freedesktop.org"
12 WGET_URL="$WEB_SITE/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS && make && make -j 1 install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 cp -a $_pkg/usr $fs/usr
25 }