wok-next annotate netkit-rsh/receipt @ rev 19943
Up xine-lib (1.2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 10:16:55 2017 +0200 (2017-10-16) |
parents | 8a74e7b0ff7f |
children | defb66322971 |
rev | line source |
---|---|
pascal@13918 | 1 # SliTaz package receipt. |
pascal@13918 | 2 |
pascal@13918 | 3 PACKAGE="netkit-rsh" |
pascal@13918 | 4 VERSION="0.17" |
pascal@13918 | 5 CATEGORY="network" |
pascal@13918 | 6 SHORT_DESC="Remote connexion tools." |
pascal@13918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@13918 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13918 | 10 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" |
pascal@13918 | 11 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL" |
pascal@13918 | 12 |
pascal@13918 | 13 DEPENDS="" |
pascal@13918 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@13918 | 15 |
pascal@13918 | 16 # Rules to configure and make the package. |
pascal@13918 | 17 compile_rules() |
pascal@13918 | 18 { |
pascal@19293 | 19 sed -i 's|/man|/share&|' configure |
pascal@13918 | 20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ |
pascal@19292 | 21 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8 |
pascal@13919 | 22 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \ |
pascal@13919 | 23 rexecd/rexecd.c rshd/rshd.c |
pascal@13919 | 24 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h |
pascal@13918 | 25 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR && |
pascal@13918 | 26 make && make install |
pascal@13918 | 27 } |
pascal@13918 | 28 |
pascal@13918 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13918 | 30 genpkg_rules() |
pascal@13918 | 31 { |
pascal@13918 | 32 mkdir $fs/usr |
pascal@13918 | 33 cp -a $install/usr/bin $fs/usr |
pascal@13918 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@13918 | 35 } |