wok-6.x view netkit-rsh/receipt @ rev 19292

mingw32-runtime, ms-sys, netkit-rsh, nqc, nvclock: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 13:17:14 2016 +0200 (2016-07-06)
parents 23c3aed67cd9
children 42380dbaadb7
line source
1 # SliTaz package receipt.
3 PACKAGE="netkit-rsh"
4 VERSION="0.17"
5 CATEGORY="network"
6 SHORT_DESC="Remote connexion tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
11 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/man|/share&|' MCONFIG configure
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
21 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8
22 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
23 rexecd/rexecd.c rshd/rshd.c
24 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
25 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }