wok-6.x view netkit-rsh/receipt @ rev 16471
gstreamer-1.0: update i?86 bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 06:52:14 2014 +0000 (2014-04-22) |
parents | a53f16f0aa99 |
children | 8a74e7b0ff7f |
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 cd $src
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \
21 $DESTDIR/usr/man/man1 $DESTDIR/usr/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 }