wok annotate sshttp/receipt @ rev 13032
sshttp: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 12 18:05:07 2012 +0200 (2012-06-12) |
parents | 43e227ce43b9 |
children | e2e8f01cdde5 |
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@13032 | 11 BUILD_DEPENDS="wget libcap libcap-dev" |
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 |