wok-6.x view netkit-rsh/receipt @ rev 19372
linux: enable CONFIG_FB_EFI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 09 14:31:24 2016 +0200 (2016-08-09) |
parents | 8a74e7b0ff7f |
children | 426eec51ef7c |
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 's|/man|/share&|' configure
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
21 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8
22 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
23 rexecd/rexecd.c rshd/rshd.c
24 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
25 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }