wok view netkit-rsh/receipt @ rev 14799

Up: xz (5.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 13 15:04:42 2013 +0200 (2013-07-13)
parents f08a314a5793
children 23c3aed67cd9
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
10 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS="ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
20 $DESTDIR/usr/man/man1 $DESTDIR/usr/man/man8
21 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
22 rexecd/rexecd.c rshd/rshd.c
23 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
24 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }