wok-next view netkit-rsh/receipt @ rev 20691
aescrypt: add option for SHA256sum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:42:16 2018 +0000 (2018-05-21) |
parents | defb66322971 |
children | 1ac63f557a4c |
line source
1 # SliTaz package receipt v2.
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 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 -i
18 -e 's/union wait/int/' \
19 -e 's/status.w_termsig | status.w_retcode/WTERMSIG(status)/' \
20 rlogin/rlogin.c
21 sed -i 's|/man|/share&|' configure
22 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
23 $DESTDIR/usr/share/man/man1 $DESTDIR/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=$DESTDIR &&
32 make && make install
33 }
35 genpkg_rules() {
36 copy @std
37 }