wok-current annotate gesftpserver/receipt @ rev 23440
linux-zram: autostart
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 12:22:43 2020 +0200 (2020-04-02) |
parents | a3009a547c3d |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@17331 | 1 # SliTaz package receipt. |
pascal@17331 | 2 |
pascal@17331 | 3 PACKAGE="gesftpserver" |
Hans-G?nter@22823 | 4 VERSION="1" |
pascal@17331 | 5 CATEGORY="network" |
pascal@17331 | 6 SHORT_DESC="Green End SFTP Server with up to version 6 protocol support." |
pascal@17331 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17331 | 8 LICENSE="GPL2" |
Hans-G?nter@20961 | 9 WEB_SITE="http://www.greenend.org.uk/rjk/sftpserver" |
Hans-G?nter@20961 | 10 |
Hans-G?nter@22823 | 11 SOURCE="sftpserver" |
pascal@17331 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17331 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@17331 | 14 |
pascal@17331 | 15 # Rules to configure and make the package. |
pascal@17331 | 16 compile_rules() |
pascal@17331 | 17 { |
Hans-G?nter@22823 | 18 ./configure \ |
Hans-G?nter@22823 | 19 --prefix=/usr \ |
pascal@17331 | 20 $CONFIGURE_ARGS && |
Hans-G?nter@22823 | 21 make && |
pascal@17331 | 22 make DESTDIR=$DESTDIR install |
pascal@17331 | 23 } |
pascal@17331 | 24 |
pascal@17331 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17331 | 26 genpkg_rules() |
pascal@17331 | 27 { |
pascal@17331 | 28 mkdir -p $fs/usr/sbin |
Hans-G?nter@22823 | 29 cp -a $install/usr/libexec/gesftpserver $fs/usr/sbin/sftp-server |
pascal@17331 | 30 } |