wok-6.x view corkscrew/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="corkscrew"
4 VERSION="2.0"
5 CATEGORY="network"
6 SHORT_DESC="tool for tunneling ssh through proxies"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-git-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/bryanpkc/corkscrew"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 TAGS="ssh https proxy"
14 DEPENDS="openssh"
15 BUILD_DEPENDS="automake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf --install
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $install/usr/share/doc
39 cp -a $install/usr/bin $fs/usr
40 cp $src/README $src/TODO $install/usr/share/doc
41 }