wok-next view ssfs/receipt @ rev 20942

Updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 28 08:45:59 2018 +0300 (2018-08-28)
parents 18143f296fc8
children d5aab818505e
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/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/ssfs/archive/$VERSION.tar.bz2"
15 BUILD_DEPENDS="gettext-tools"
16 SPLIT="ssfs-server"
18 compile_rules() {
19 make && make DESTDIR=$DESTDIR install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 ssfs)
25 mkdir -p $fs/usr/share
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/share/applications $fs/usr/share
28 cp -a $install/usr/share/locale $fs/usr/share
29 cp -a $install/usr/share/doc $fs/usr/share
30 DEPENDS="rsync lsyncd"
31 SUGGESTED="yad"
32 ;;
33 ssfs-server)
34 mkdir -p $fs/usr/share
35 cp -a $install/etc $fs
36 cp -a $install/bin $fs
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/share/ssfs $fs/usr/share
39 cp -a $install/var $fs
40 CAT="network|server side tools"
41 DEPENDS="ssfs ssfs-busybox openssh"
42 ;;
43 esac
44 }