wok-6.x annotate netkit-rsh/receipt @ rev 13918
Add netkit-rsh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 25 16:42:06 2013 +0100 (2013-01-25) |
parents | |
children | a53f16f0aa99 |
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@13918 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13918 | 9 WEB_SITE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" |
pascal@13918 | 10 WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL" |
pascal@13918 | 11 |
pascal@13918 | 12 DEPENDS="" |
pascal@13918 | 13 BUILD_DEPENDS="ncurses-dev" |
pascal@13918 | 14 |
pascal@13918 | 15 # Rules to configure and make the package. |
pascal@13918 | 16 compile_rules() |
pascal@13918 | 17 { |
pascal@13918 | 18 cd $src |
pascal@13918 | 19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ |
pascal@13918 | 20 $DESTDIR/usr/man/man1 $DESTDIR/usr/man/man8 |
pascal@13918 | 21 ./configure --prefix=/usr --without-pam --installroot=$DESTDIR && |
pascal@13918 | 22 make && make install |
pascal@13918 | 23 } |
pascal@13918 | 24 |
pascal@13918 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13918 | 26 genpkg_rules() |
pascal@13918 | 27 { |
pascal@13918 | 28 mkdir $fs/usr |
pascal@13918 | 29 cp -a $install/usr/bin $fs/usr |
pascal@13918 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@13918 | 31 } |