wok-next annotate ssfs/receipt @ rev 21114
startup-notification: redesign
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 12 15:31:59 2019 +0200 (2019-01-12) |
parents | cd7906120828 |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@10864 | 2 |
pankso@10864 | 3 PACKAGE="ssfs" |
al@19588 | 4 VERSION="108" |
pankso@10864 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="SliTaz Secure File Storage" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15068 | 8 LICENSE="BSD" |
pankso@10864 | 9 WEB_SITE="http://ssfs.slitaz.org/" |
al@20888 | 10 REPOLOGY="-" |
pascal@15068 | 11 |
al@19588 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19588 | 13 WGET_URL="http://hg.slitaz.org/ssfs/archive/$VERSION.tar.bz2" |
al@19588 | 14 |
al@21020 | 15 BUILD_DEPENDS="gettext" |
al@21020 | 16 SPLIT="$PACKAGE-server" |
pankso@10864 | 17 |
al@20456 | 18 compile_rules() { |
al@21020 | 19 make && |
al@21020 | 20 make DESTDIR=$install install |
pankso@10864 | 21 } |
pankso@10864 | 22 |
al@20456 | 23 genpkg_rules() { |
al@20456 | 24 case $PACKAGE in |
al@20456 | 25 ssfs) |
al@20456 | 26 mkdir -p $fs/usr/share |
al@20456 | 27 cp -a $install/usr/bin $fs/usr |
al@20456 | 28 cp -a $install/usr/share/applications $fs/usr/share |
al@20456 | 29 cp -a $install/usr/share/locale $fs/usr/share |
al@20456 | 30 cp -a $install/usr/share/doc $fs/usr/share |
al@20456 | 31 DEPENDS="rsync lsyncd" |
al@20456 | 32 SUGGESTED="yad" |
al@20456 | 33 ;; |
al@20456 | 34 ssfs-server) |
al@20456 | 35 mkdir -p $fs/usr/share |
al@20456 | 36 cp -a $install/etc $fs |
al@20456 | 37 cp -a $install/bin $fs |
al@20456 | 38 cp -a $install/usr/sbin $fs/usr |
al@20456 | 39 cp -a $install/usr/share/ssfs $fs/usr/share |
al@20456 | 40 cp -a $install/var $fs |
al@20456 | 41 CAT="network|server side tools" |
al@20456 | 42 DEPENDS="ssfs ssfs-busybox openssh" |
al@20456 | 43 ;; |
al@20456 | 44 esac |
pankso@10864 | 45 } |