wok-next annotate netkit-rsh/receipt @ rev 19238
Do not (re)build httpfs-static (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 26 13:27:44 2016 +0200 (2016-06-26) |
parents | a53f16f0aa99 |
children | 8a74e7b0ff7f |
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@13918 | 19 cd $src |
pascal@13918 | 20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ |
pascal@13918 | 21 $DESTDIR/usr/man/man1 $DESTDIR/usr/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 } |