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