wok-6.x view zssh/receipt @ rev 19613
Up: libmpdclient (2.10)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Jan 09 19:34:43 2017 +0000 (2017-01-09) |
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 }