wok-6.x annotate slsnif/receipt @ rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents 3b4e4318134e
children 7dd01dedad38
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@6402 10 WEB_SITE="http://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 }