wok-next view netkit-rsh/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 1ac63f557a4c
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="netkit-rsh"
4 VERSION="0.17"
5 CATEGORY="network"
6 SHORT_DESC="Remote connection tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev"
16 compile_rules() {
17 sed \
18 -e 's/union wait/int/' \
19 -e 's/status.w_termsig | status.w_retcode/WTERMSIG(status)/' \
20 -i rlogin/rlogin.c
21 sed -i 's|/man|/share&|' configure
22 mkdir -p $install/usr/bin $install/usr/sbin \
23 $install/usr/share/man/man1 $install/usr/share/man/man8
24 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
25 rexecd/rexecd.c rshd/rshd.c
26 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
28 ./configure \
29 --prefix=/usr \
30 --without-pam \
31 --installroot=$install &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 copy @std
38 }