wok-4.x view strace/receipt @ rev 3370
Childsplay: Add post_install()
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 19:05:25 2009 +0000 (2009-06-11) |
parents | a075ff895254 |
children | 7f3390bca0d9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="strace"
4 VERSION="4.5.18"
5 CATEGORY="development"
6 SHORT_DESC="Trace system calls and signals"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://sourceforge.net/projects/strace/"
11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/strace/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/strace
29 }