wok diff dsh/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents
children bfabe25c21ff
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dsh/receipt	Wed Jul 07 17:56:16 2021 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dsh"
     1.7 +VERSION="0.25.9"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Wrapper for executing multiple remote shell (rsh/remsh/ssh) commands"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
    1.14 +WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libdshconfig"
    1.17 +BUILD_DEPENDS="libdshconfig-dev"
    1.18 +SUGGESTED="ssh rsh"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure --prefix=/usr \
    1.24 +		--sysconfdir=/etc \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/etc $fs
    1.36 +	sed -i 's|=rsh|=dbclient|' $fs/etc/dsh.conf
    1.37 +}