wok-current view dsh/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (20 months ago)
parents 82d54eca72be
children
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="https://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 }