wok-stable view sslh/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents
children 76ff4f7136d3
line source
1 # SliTaz package receipt.
3 PACKAGE="sslh"
4 VERSION="1.7a"
5 CATEGORY="network"
6 SHORT_DESC="Accept both HTTPS and SSH connections on the same port."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.rutschle.net/tech/sslh.shtml"
10 WGET_URL="http://www.rutschle.net/tech/$TARBALL"
11 DEPENDS="libwrap"
12 BUILD_DEPENDS="libwrap-dev libwrap"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/sbin
25 cp -a $src/sslh $fs/usr/sbin
26 }