wok view netkit-rsh/receipt @ rev 20584
libimobiledevice, openvas-client, passenger: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 14 22:12:43 2018 +0100 (2018-12-14) |
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 }