wok-current view gesftpserver/receipt @ rev 18732

Quote root dir in post_install (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 00:07:14 2015 +0100 (2015-12-21)
parents
children a3009a547c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="gesftpserver"
4 SOURCE="sftpserver"
5 VERSION="0.2.1"
6 CATEGORY="network"
7 SHORT_DESC="Green End SFTP Server with up to version 6 protocol support."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.greenend.org.uk/rjk/sftpserver"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure --prefix=/usr \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp -a $install/usr/libexec/gesftpserver $fs/usr/sbin/sftp-server
28 }