wok-next annotate slsnif/receipt @ rev 6402
Add slsnif
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 12:00:06 2010 +0200 (2010-09-25) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@6402 | 1 # SliTaz package receipt. |
pascal@6402 | 2 |
pascal@6402 | 3 PACKAGE="slsnif" |
pascal@6402 | 4 VERSION="0.4.4" |
pascal@6402 | 5 CATEGORY="system-tools" |
pascal@6402 | 6 SHORT_DESC="Serial line sniffer." |
pascal@6402 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@6402 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6402 | 9 WEB_SITE="http://slsnif.sourceforge.net/" |
pascal@6402 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6402 | 11 |
pascal@6402 | 12 # Rules to configure and make the package. |
pascal@6402 | 13 compile_rules() |
pascal@6402 | 14 { |
pascal@6402 | 15 cd $src |
pascal@6402 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6402 | 17 --mandir=/usr/share/man \ |
pascal@6402 | 18 $CONFIGURE_ARGS && |
pascal@6402 | 19 make && |
pascal@6402 | 20 make DESTDIR=$PWD/_pkg install |
pascal@6402 | 21 } |
pascal@6402 | 22 |
pascal@6402 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6402 | 24 genpkg_rules() |
pascal@6402 | 25 { |
pascal@6402 | 26 mkdir -p $fs/usr |
pascal@6402 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@6402 | 28 } |