wok-6.x annotate ssfs/receipt @ rev 25552

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