wok annotate 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
rev   line source
pascal@13918 1 # SliTaz package receipt.
pascal@13918 2
pascal@13918 3 PACKAGE="netkit-rsh"
pascal@13918 4 VERSION="0.17"
pascal@13918 5 CATEGORY="network"
pascal@13918 6 SHORT_DESC="Remote connexion tools."
pascal@13918 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13918 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13918 9 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
pascal@13918 10 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
pascal@13918 11
pascal@13918 12 DEPENDS=""
pascal@13918 13 BUILD_DEPENDS="ncurses-dev"
pascal@13918 14
pascal@13918 15 # Rules to configure and make the package.
pascal@13918 16 compile_rules()
pascal@13918 17 {
pascal@13918 18 cd $src
pascal@13918 19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
pascal@13918 20 $DESTDIR/usr/man/man1 $DESTDIR/usr/man/man8
pascal@13919 21 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
pascal@13919 22 rexecd/rexecd.c rshd/rshd.c
pascal@13919 23 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
pascal@13918 24 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
pascal@13918 25 make && make install
pascal@13918 26 }
pascal@13918 27
pascal@13918 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13918 29 genpkg_rules()
pascal@13918 30 {
pascal@13918 31 mkdir $fs/usr
pascal@13918 32 cp -a $install/usr/bin $fs/usr
pascal@13918 33 cp -a $install/usr/sbin $fs/usr
pascal@13918 34 }