wok-current view slsnif/receipt @ rev 25734
Up rsync (CVE-2024-12084-88, CVE-2024-12747), xorg-server CVE-2024-9632, expat CVE-2024-50602, deps for webkit2gtk, up mesa 21.3.8, rework xorg proto, up get-LibreOffice/get-LibreOffice for x86_64
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Jan 16 13:14:32 2025 +0000 (2 weeks ago) |
parents | e919c5a2742d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="slsnif"
4 VERSION="0.4.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Serial line sniffer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://slsnif.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/slsnif/files/slsnif/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
18 sed '/scope="row/!d;s|.*slsnif-||;s|.tar.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }