wok-next view ssfs/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 266eb7ab8b5a |
children | 18143f296fc8 |
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 SPLIT="ssfs-server"
16 compile_rules() {
17 make && make DESTDIR=$DESTDIR install
18 }
20 genpkg_rules() {
21 case $PACKAGE in
22 ssfs)
23 mkdir -p $fs/usr/share
24 cp -a $install/usr/bin $fs/usr
25 cp -a $install/usr/share/applications $fs/usr/share
26 cp -a $install/usr/share/locale $fs/usr/share
27 cp -a $install/usr/share/doc $fs/usr/share
28 DEPENDS="rsync lsyncd"
29 SUGGESTED="yad"
30 ;;
31 ssfs-server)
32 mkdir -p $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/bin $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/share/ssfs $fs/usr/share
37 cp -a $install/var $fs
38 CAT="network|server side tools"
39 DEPENDS="ssfs ssfs-busybox openssh"
40 ;;
41 esac
42 }