wok-6.x view ssfs/receipt @ rev 24144

ventoy: use web interface
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 09:45:35 2021 +0000 (2021-11-17)
parents d5add2d69322
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ssfs"
4 VERSION="108"
5 CATEGORY="network"
6 SHORT_DESC="SSFS is SliTaz Secure File Storage."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://ssfs.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
12 SUGGESTED="yad"
14 DEPENDS="rsync lsyncd"
15 SPLIT="ssfs-server"
17 current_version()
18 {
19 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
21 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/locale $fs/usr/share
37 cp -a $install/usr/share/doc $fs/usr/share
38 }