wok annotate strace/receipt @ rev 8180
imported patch toolchain/gcc-lib-base.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 7f3390bca0d9 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
erjo@442 | 1 # SliTaz package receipt. |
erjo@442 | 2 |
erjo@442 | 3 PACKAGE="strace" |
erjo@5742 | 4 VERSION="4.5.20" |
pascal@741 | 5 CATEGORY="development" |
erjo@442 | 6 SHORT_DESC="Trace system calls and signals" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@442 | 8 DEPENDS="" |
erjo@442 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@442 | 10 WEB_SITE="http://sourceforge.net/projects/strace/" |
erjo@442 | 11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/strace/$TARBALL" |
erjo@442 | 12 |
erjo@442 | 13 # Rules to configure and make the package. |
erjo@442 | 14 compile_rules() |
erjo@442 | 15 { |
erjo@442 | 16 cd $src |
erjo@442 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@442 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@442 | 19 make |
erjo@442 | 20 make DESTDIR=$PWD/_pkg install |
erjo@442 | 21 } |
erjo@442 | 22 |
erjo@442 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@442 | 24 genpkg_rules() |
erjo@442 | 25 { |
erjo@442 | 26 mkdir -p $fs/usr |
erjo@442 | 27 cp -a $_pkg/usr/bin $fs/usr |
erjo@2954 | 28 strip -s $fs/usr/bin/strace |
erjo@442 | 29 } |
erjo@442 | 30 |
erjo@442 | 31 |