wok view smbbox/receipt @ rev 24462
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 16 21:07:01 2022 +0000 (2022-02-16) |
parents | aa1584474883 |
children | 556fb84b427c |
line source
1 # SliTaz package receipt
3 PACKAGE="smbbox"
4 VERSION="0.99"
5 CATEGORY="network"
6 SHORT_DESC="Tiny gui for mount/unmount SMB Share."
7 MAINTAINER="shann@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="smbbox"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://smbbox.balinor.net/src/$TARBALL"
12 WEB_SITE="http://smbbox.free.fr/"
14 DEPENDS="smbclient cifs-utils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Stable/!d;s|.*Stable ||;s|<.*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/$PACKAGE/smbbox $fs/usr/bin
28 cp -a $src/$PACKAGE/smbbox-notify $fs/usr/bin
29 chown -R root.root $fs
30 }