wok-stable annotate strace/receipt @ rev 1913
Add glibc-extra-samba (3): fix mkdir
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 21 23:21:46 2008 +0000 (2008-12-21) |
parents | 5fb27e4bf774 |
children | be4572f67f83 |
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@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@442 | 28 strip -s $fs/usr/bin/* |
erjo@442 | 29 } |
erjo@442 | 30 |
erjo@442 | 31 |