wok-current view dsh/receipt @ rev 25312

updated smartmontools (7.2 -> 7.3)
author Hans-G?nter Theisgen
date Wed Jul 20 17:27:26 2022 +0100 (2022-07-20)
parents bfabe25c21ff
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="dsh"
4 VERSION="0.25.9"
5 CATEGORY="network"
6 SHORT_DESC="Wrapper for executing multiple remote shell (rsh/remsh/ssh) commands"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
11 WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL"
13 DEPENDS="libdshconfig"
14 BUILD_DEPENDS="libdshconfig-dev"
15 SUGGESTED="ssh rsh"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/etc $fs
40 sed -i 's|=rsh|=dbclient|' $fs/etc/dsh.conf
41 }