wok-current view threaded-samba-scanner/receipt @ rev 25101
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 15:09:15 2022 +0000 (2022-06-21) |
parents | b1356f30c0b8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="threaded-samba-scanner"
4 VERSION="3.6"
5 CATEGORY="network"
6 SHORT_DESC="A very fast samba scanner."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20180218034430/http://dalalven.dtdns.net/linux/gadmintools-webpage/"
11 WGET_URL="https://web.archive.org/web/20160506051125if_/http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL"
13 DEPENDS="smbclient"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://fr.osdn.net/projects/freshmeat_threaded-samba-scanner/releases/ 2>/dev/null | \
20 sed '/releases/!d;/">[0-9]/!d;s|.*">||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $src/threaded-samba-scanner $fs/usr/bin
34 }