wok-next view ssfs/receipt @ rev 20741

brscan: use SliTaz mirror as $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 22:56:44 2018 +0300 (2018-05-29)
parents c3a368c0cddb
children cd7906120828
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/ssfs/archive/$VERSION.tar.bz2"
14 BUILD_DEPENDS="gettext-tools"
15 SPLIT="ssfs-server"
17 compile_rules() {
18 make && make DESTDIR=$DESTDIR install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 ssfs)
24 mkdir -p $fs/usr/share
25 cp -a $install/usr/bin $fs/usr
26 cp -a $install/usr/share/applications $fs/usr/share
27 cp -a $install/usr/share/locale $fs/usr/share
28 cp -a $install/usr/share/doc $fs/usr/share
29 DEPENDS="rsync lsyncd"
30 SUGGESTED="yad"
31 ;;
32 ssfs-server)
33 mkdir -p $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/bin $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/share/ssfs $fs/usr/share
38 cp -a $install/var $fs
39 CAT="network|server side tools"
40 DEPENDS="ssfs ssfs-busybox openssh"
41 ;;
42 esac
43 }