wok-next view ssfs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents cd7906120828
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ssfs"
4 VERSION="108"
5 CATEGORY="network"
6 SHORT_DESC="SliTaz Secure File Storage"
7 MAINTAINER="devel@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"
16 SPLIT="$PACKAGE-server"
18 compile_rules() {
19 make &&
20 make DESTDIR=$install install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 ssfs)
26 mkdir -p $fs/usr/share
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/share/applications $fs/usr/share
29 cp -a $install/usr/share/locale $fs/usr/share
30 cp -a $install/usr/share/doc $fs/usr/share
31 DEPENDS="rsync lsyncd"
32 SUGGESTED="yad"
33 ;;
34 ssfs-server)
35 mkdir -p $fs/usr/share
36 cp -a $install/etc $fs
37 cp -a $install/bin $fs
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/share/ssfs $fs/usr/share
40 cp -a $install/var $fs
41 CAT="network|server side tools"
42 DEPENDS="ssfs ssfs-busybox openssh"
43 ;;
44 esac
45 }