wok annotate sshttp/receipt @ rev 13031

Add sshttp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 17:55:11 2012 +0200 (2012-06-12)
parents
children f2870c4a7a92
rev   line source
pascal@13031 1 # SliTaz package receipt.
pascal@13031 2
pascal@13031 3 PACKAGE="sshttp"
pascal@13031 4 VERSION="0-27"
pascal@13031 5 CATEGORY="network"
pascal@13031 6 SHORT_DESC="hiding a SSH server behind a HTTP server."
pascal@13031 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13031 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13031 9 WEB_SITE="https://github.com/stealth/$PACKAGE"
pascal@13031 10 WGET_URL="$WEB_SITE/tarball/$PACKAGE-$VERSION"
pascal@13031 11 BUILD_DEPENDS="wget libcap"
pascal@13031 12 DEPENDS="libcap gcc-lib-base"
pascal@13031 13
pascal@13031 14 # Rules to configure and make the package.
pascal@13031 15 compile_rules()
pascal@13031 16 {
pascal@13031 17 cd $src
pascal@13031 18 make && cp README $WOK/$PACKAGE/description.txt
pascal@13031 19 }
pascal@13031 20
pascal@13031 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13031 22 genpkg_rules()
pascal@13031 23 {
pascal@13031 24 mkdir -p $fs/usr/sbin
pascal@13031 25 cp -a $src/sshttpd $fs/usr/sbin
pascal@13031 26 }
pascal@13031 27