wok-current annotate dsh/receipt @ rev 23821
syslinux: merge init.exe & taziso (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 09:34:09 2020 +0000 (2020-05-28) |
parents | |
children | bfabe25c21ff |
rev | line source |
---|---|
pascal@22685 | 1 # SliTaz package receipt. |
pascal@22685 | 2 |
pascal@22685 | 3 PACKAGE="dsh" |
pascal@22685 | 4 VERSION="0.25.9" |
pascal@22685 | 5 CATEGORY="network" |
pascal@22685 | 6 SHORT_DESC="Wrapper for executing multiple remote shell (rsh/remsh/ssh) commands" |
pascal@22685 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22685 | 8 LICENSE="" |
pascal@22685 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@22685 | 10 WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" |
pascal@22685 | 11 WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL" |
pascal@22685 | 12 |
pascal@22685 | 13 DEPENDS="libdshconfig" |
pascal@22685 | 14 BUILD_DEPENDS="libdshconfig-dev" |
pascal@22685 | 15 SUGGESTED="ssh rsh" |
pascal@22685 | 16 |
pascal@22685 | 17 # Rules to configure and make the package. |
pascal@22685 | 18 compile_rules() |
pascal@22685 | 19 { |
pascal@22685 | 20 ./configure --prefix=/usr \ |
pascal@22685 | 21 --sysconfdir=/etc \ |
pascal@22685 | 22 $CONFIGURE_ARGS && |
pascal@22685 | 23 make && |
pascal@22685 | 24 make DESTDIR=$DESTDIR install |
pascal@22685 | 25 } |
pascal@22685 | 26 |
pascal@22685 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22685 | 28 genpkg_rules() |
pascal@22685 | 29 { |
pascal@22685 | 30 mkdir -p $fs/usr |
pascal@22685 | 31 cp -a $install/usr/bin $fs/usr |
pascal@22685 | 32 cp -a $install/etc $fs |
pascal@22685 | 33 sed -i 's|=rsh|=dbclient|' $fs/etc/dsh.conf |
pascal@22685 | 34 } |