wok-current annotate strace/receipt @ rev 741
Fixe known categories
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 05 14:10:37 2008 +0000 (2008-05-05) |
parents | 436e5e723462 |
children | a075ff895254 |
rev | line source |
---|---|
erjo@442 | 1 # SliTaz package receipt. |
erjo@442 | 2 |
erjo@442 | 3 PACKAGE="strace" |
erjo@442 | 4 VERSION="4.5.16" |
pascal@741 | 5 CATEGORY="development" |
erjo@442 | 6 SHORT_DESC="Trace system calls and signals" |
erjo@442 | 7 MAINTAINER="Erjo <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@442 | 28 strip -s $fs/usr/bin/* |
erjo@442 | 29 } |
erjo@442 | 30 |
erjo@442 | 31 |