wok-next view zssh/receipt @ rev 19670
sudo-pam: add the same patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 18 15:28:43 2017 +0200 (2017-03-18) |
parents | 90198f573d18 |
children | 466bca9334ef |
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 }