wok annotate corkscrew/receipt @ rev 24793

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