wok annotate zssh/receipt @ rev 24267
updated perl-universal-require (0.18 -> 0.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:33:22 2022 +0100 (2022-01-02) |
parents | 38da7d1a1d04 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@17131 | 1 # SliTaz package receipt. |
pascal@17131 | 2 |
pascal@17131 | 3 PACKAGE="zssh" |
pascal@17131 | 4 VERSION="1.5c" |
pascal@17131 | 5 CATEGORY="network" |
pascal@17131 | 6 SHORT_DESC="Transfer files to a remote machine while using ssh" |
pascal@17131 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17131 | 8 LICENSE="GPL2" |
pascal@17131 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@17131 | 10 WEB_SITE="http://zssh.sourceforge.net/" |
pascal@17131 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
pascal@17131 | 13 |
pascal@17131 | 14 DEPENDS="readline lrzsz" |
pascal@17131 | 15 BUILD_DEPENDS="readline-dev ncurses-dev" |
pascal@17131 | 16 |
pascal@24105 | 17 current_version() |
pascal@24105 | 18 { |
pascal@24105 | 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24105 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24105 | 21 sed '/tgz/!d;s|.*zssh-||;s|.tgz.*||;q' |
pascal@24105 | 22 } |
pascal@24105 | 23 |
pascal@17131 | 24 # Rules to configure and make the package. |
pascal@17131 | 25 compile_rules() |
pascal@17131 | 26 { |
pascal@17673 | 27 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@17131 | 28 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17131 | 29 make |
pascal@19369 | 30 install -d -m 755 $DESTDIR/usr/share/man/man1 && |
pascal@19369 | 31 install -d -m 755 $DESTDIR/usr/share/doc && |
pascal@19371 | 32 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 && |
pascal@19371 | 33 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc |
pascal@17131 | 34 } |
pascal@17131 | 35 |
pascal@17131 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17131 | 37 genpkg_rules() |
pascal@17131 | 38 { |
pascal@17131 | 39 mkdir -p $fs/usr/bin |
pascal@17131 | 40 cp -a $src/zssh $fs/usr/bin |
pascal@17131 | 41 ln $fs/usr/bin/zssh $fs/usr/bin/ztelnet |
pascal@17131 | 42 } |