wok-next annotate gesftpserver/receipt @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | |
children | e54ec58bfbd1 |
rev | line source |
---|---|
pascal@17331 | 1 # SliTaz package receipt. |
pascal@17331 | 2 |
pascal@17331 | 3 PACKAGE="gesftpserver" |
pascal@17331 | 4 SOURCE="sftpserver" |
pascal@17331 | 5 VERSION="0.2.1" |
pascal@17331 | 6 CATEGORY="network" |
pascal@17331 | 7 SHORT_DESC="Green End SFTP Server with up to version 6 protocol support." |
pascal@17331 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17331 | 9 LICENSE="GPL2" |
pascal@17331 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17331 | 11 WEB_SITE="http://www.greenend.org.uk/rjk/sftpserver" |
pascal@17331 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@17331 | 13 |
pascal@17331 | 14 # Rules to configure and make the package. |
pascal@17331 | 15 compile_rules() |
pascal@17331 | 16 { |
pascal@17331 | 17 ./configure --prefix=/usr \ |
pascal@17331 | 18 $CONFIGURE_ARGS && |
pascal@17331 | 19 make && |
pascal@17331 | 20 make DESTDIR=$DESTDIR install |
pascal@17331 | 21 } |
pascal@17331 | 22 |
pascal@17331 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17331 | 24 genpkg_rules() |
pascal@17331 | 25 { |
pascal@17331 | 26 mkdir -p $fs/usr/sbin |
pascal@17331 | 27 cp -a $install/usr/libexec/gesftpserver $fs/usr/sbin/sftp-server |
pascal@17331 | 28 } |