wok view corkscrew/receipt @ rev 24210
properly renamed perl-file-rsync to perl-file-rsyncp
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:55:26 2021 +0100 (2021-12-31) |
parents | 4c206553708a |
children | ac8ca9758df1 |
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*}/releases 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 }