wok-next view netkit-rsh/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 42380dbaadb7 |
children | d43bf7aae921 |
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 sed -i -e 's/union wait/int/' \
20 -e 's/status.w_termsig | status.w_retcode/WTERMSIG(status)/' \
21 rlogin/rlogin.c
22 sed -i 's|/man|/share&|' configure
23 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
24 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8
25 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
26 rexecd/rexecd.c rshd/rshd.c
27 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
28 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 }