wok-current view netkit-rsh/receipt @ rev 18987

Additional themes for Slitaz GNU/Linux.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Mar 17 05:14:19 2016 -0300 (2016-03-17)
parents a53f16f0aa99
children 8a74e7b0ff7f
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 cd $src
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
21 $DESTDIR/usr/man/man1 $DESTDIR/usr/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 }