wok-current view zssh/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
parents | 7dd01dedad38 |
children |
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="https://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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/tgz/!d;s|.*zssh-||;s|.tgz.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make
31 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
32 install -d -m 755 $DESTDIR/usr/share/doc &&
33 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
34 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 cp -a $src/zssh $fs/usr/bin
42 ln $fs/usr/bin/zssh $fs/usr/bin/ztelnet
43 }