wok-next annotate strace/receipt @ rev 442

ADD: strace for debugging.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 16 02:40:48 2008 +0100 (2008-03-16)
parents
children 5fb27e4bf774
rev   line source
erjo@442 1 # SliTaz package receipt.
erjo@442 2
erjo@442 3 PACKAGE="strace"
erjo@442 4 VERSION="4.5.16"
erjo@442 5 CATEGORY="developement"
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