wok annotate slsnif/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (21 months ago) |
parents | e919c5a2742d |
children | 29df00e1e19d |
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@15593 | 8 LICENSE="GPL2" |
pascal@6402 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://slsnif.sourceforge.net/" |
pascal@6402 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6402 | 12 |
pascal@24348 | 13 # What is the latest version available today? |
pascal@24348 | 14 current_version() |
pascal@24348 | 15 { |
pascal@24348 | 16 wget -O - https://sourceforge.net/projects/slsnif/files/slsnif/ 2>/dev/null | \ |
pascal@24348 | 17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 18 sed '/scope="row/!d;s|.*slsnif-||;s|.tar.*||;q' |
pascal@24348 | 19 } |
pascal@24348 | 20 |
pascal@6402 | 21 # Rules to configure and make the package. |
pascal@6402 | 22 compile_rules() |
pascal@6402 | 23 { |
pascal@6402 | 24 cd $src |
pascal@6402 | 25 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6402 | 26 --mandir=/usr/share/man \ |
pascal@6402 | 27 $CONFIGURE_ARGS && |
pascal@6402 | 28 make && |
pascal@15593 | 29 make DESTDIR=$DESTDIR install |
pascal@6402 | 30 } |
pascal@6402 | 31 |
pascal@6402 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6402 | 33 genpkg_rules() |
pascal@6402 | 34 { |
pascal@6402 | 35 mkdir -p $fs/usr |
pascal@15593 | 36 cp -a $install/usr/bin $fs/usr |
pascal@6402 | 37 } |