wok-tiny annotate libpthread/receipt @ rev 99
Add fuse, libpthread, librt, posixovl and some modules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 31 12:53:44 2015 +0100 (2015-10-31) |
parents | |
children | 0d8ef9102fc0 |
rev | line source |
---|---|
pascal@99 | 1 # SliTaz package receipt. |
pascal@99 | 2 |
pascal@99 | 3 PACKAGE="libpthread" |
pascal@99 | 4 VERSION="0.9.31" |
pascal@99 | 5 CATEGORY="base-system" |
pascal@99 | 6 SHORT_DESC="Threads runtime library" |
pascal@99 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@99 | 8 LICENSE="LGPL" |
pascal@99 | 9 [ -n "$TARGET" ] || TARGET="i486" |
pascal@99 | 10 DEPENDS="base-tiny" |
pascal@99 | 11 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" |
pascal@99 | 12 WEB_SITE="http://tiny.slitaz.org/" |
pascal@99 | 13 |
pascal@99 | 14 # Rules to configure and make the package. |
pascal@99 | 15 compile_rules() |
pascal@99 | 16 { |
pascal@99 | 17 mkdir -p $DESTDIR/lib |
pascal@99 | 18 cp -a /usr/share/uclibc-cross-compiler-$TARGET/lib/$PACKAGE*.so* $DESTDIR/lib |
pascal@99 | 19 } |
pascal@99 | 20 |
pascal@99 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@99 | 22 genpkg_rules() |
pascal@99 | 23 { |
pascal@99 | 24 cp -a $install/lib $fs/ |
pascal@99 | 25 chown 0.0 $fs/lib/* |
pascal@99 | 26 } |