wok-current view dsh/receipt @ rev 24454

gnustep-back: added dependency icu
author Hans-G?nter Theisgen
date Wed Feb 16 07:53:02 2022 +0100 (2022-02-16)
parents 263151d2b6b0
children 82d54eca72be
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=""
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 }