wok view corkscrew/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
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 }