wok annotate strace/receipt @ rev 3228
fix depends/build_depends
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri May 29 17:15:47 2009 +0000 (2009-05-29) |
parents | a075ff895254 |
children | 7f3390bca0d9 |
rev | line source |
---|---|
erjo@442 | 1 # SliTaz package receipt. |
erjo@442 | 2 |
erjo@442 | 3 PACKAGE="strace" |
erjo@2954 | 4 VERSION="4.5.18" |
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 |