wok annotate zssh/receipt @ rev 21167
ufraw: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 01 10:12:50 2019 +0200 (2019-04-01) |
parents | 90198f573d18 |
children | c365fe17a816 |
rev | line source |
---|---|
pascal@17131 | 1 # SliTaz package receipt. |
pascal@17131 | 2 |
pascal@17131 | 3 PACKAGE="zssh" |
pascal@17131 | 4 VERSION="1.5c" |
pascal@17131 | 5 CATEGORY="network" |
pascal@17131 | 6 SHORT_DESC="Transfer files to a remote machine while using ssh" |
pascal@17131 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17131 | 8 LICENSE="GPL2" |
pascal@17131 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@17131 | 10 WEB_SITE="http://zssh.sourceforge.net/" |
pascal@17131 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
pascal@17131 | 13 |
pascal@17131 | 14 DEPENDS="readline lrzsz" |
pascal@17131 | 15 BUILD_DEPENDS="readline-dev ncurses-dev" |
pascal@17131 | 16 |
pascal@17131 | 17 # Rules to configure and make the package. |
pascal@17131 | 18 compile_rules() |
pascal@17131 | 19 { |
pascal@17673 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@17131 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17131 | 22 make |
pascal@19369 | 23 install -d -m 755 $DESTDIR/usr/share/man/man1 && |
pascal@19369 | 24 install -d -m 755 $DESTDIR/usr/share/doc && |
pascal@19371 | 25 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 && |
pascal@19371 | 26 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc |
pascal@17131 | 27 } |
pascal@17131 | 28 |
pascal@17131 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17131 | 30 genpkg_rules() |
pascal@17131 | 31 { |
pascal@17131 | 32 mkdir -p $fs/usr/bin |
pascal@17131 | 33 cp -a $src/zssh $fs/usr/bin |
pascal@17131 | 34 ln $fs/usr/bin/zssh $fs/usr/bin/ztelnet |
pascal@17131 | 35 } |