wok-next view netkit-rsh/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | d43bf7aae921 |
children | d5aab818505e |
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 }