wok-next view zssh/receipt @ rev 19369

openssh: add doc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:03:52 2016 +0200 (2016-08-09)
parents c7c3567bd8d4
children 38da7d1a1d04
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 -n 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
26 install -n 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 }