wok-6.x view zssh/receipt @ rev 21160
Up ufraw (0.22)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 31 15:04:44 2019 +0200 (2019-03-31) |
parents | 90198f573d18 |
children | c365fe17a816 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make
23 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
24 install -d -m 755 $DESTDIR/usr/share/doc &&
25 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
26 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/zssh $fs/usr/bin
34 ln $fs/usr/bin/zssh $fs/usr/bin/ztelnet
35 }