summaryrefslogtreecommitdiff
path: root/dsh/Pkgfile
blob: e100ba7fb2910d93576bef41bc001e0d3d9330a9 (plain)
    1 # Description: Distributed Shell.
    2 # URL:         http://www.netfort.gr.jp/~dancer/software/dsh.html.en
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager:    James Mills, prologic at shortcircuit dot net dot au
    5 # Depends on:  libdshconfig
    6 
    7 name=dsh
    8 version=0.25.9
    9 release=3
   10 source=(http://www.netfort.gr.jp/~dancer/software/downloads/$name-$version.tar.gz
   11          machines.list)
   12 
   13 build () {
   14    cd $name-$version
   15 
   16    ./configure --prefix=/usr \
   17       --disable-nls \
   18       --mandir=/usr/man
   19 
   20    make
   21    make DESTDIR=$PKG install
   22 
   23    rm -rf $PKG/usr/man/ja
   24 
   25    sed -i -e 's|rsh|ssh|g' $name.conf
   26 
   27    mkdir -p $PKG/etc/$name/group
   28    install -m644 $SRC/machines.list $PKG/etc/$name/
   29    install -m644 $name.conf $PKG/etc/$name/
   30    ln -sf /etc/$name/machines.list $PKG/etc/$name/group/all
   31    rm -r $PKG/usr/etc
   32 
   33 }

Generated by cgit