wok-next annotate rsh/receipt @ rev 20837

lua: add SHA1sum
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 19:28:49 2018 +0000 (2018-06-17)
parents 965b0a2c558a
children d5aab818505e
rev   line source
al@20462 1 # SliTaz package receipt v2.
pascal@17312 2
pascal@17312 3 PACKAGE="rsh"
pascal@17312 4 VERSION="85"
pascal@17312 5 CATEGORY="network"
pascal@17312 6 SHORT_DESC="Reimplementation of rsh and rlogin"
pascal@17312 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17312 8 LICENSE="GPL"
pascal@17312 9 WEB_SITE="https://packages.debian.org/source/sid/rsh-redone"
al@20462 10
al@20462 11 TARBALL="rsh-redone_$VERSION.orig.tar.gz"
al@20462 12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/rsh-redone/$TARBALL"
pascal@17312 13
pascal@17312 14 BUILD_DEPENDS="pam-dev"
al@20462 15 SPLIT="rshd"
pascal@17312 16
al@20462 17 compile_rules() {
pascal@17312 18 make &&
pascal@17312 19 make DESTDIR=$DESTDIR install
pascal@17312 20 }
pascal@17312 21
al@20462 22 genpkg_rules() {
al@20462 23 case $PACKAGE in
al@20462 24 rsh)
al@20462 25 mkdir -p $fs/usr
al@20462 26 cp -a $install/usr/bin $fs/usr
al@20462 27 ;;
al@20462 28 rshd)
al@20462 29 mkdir -p $fs/usr
al@20462 30 cp -a $install/usr/sbin $fs/usr
al@20462 31 cp -a $install/usr/etc $fs
al@20462 32 CAT="network|rshd and rlogind"
al@20462 33 DEPENDS="pam"
al@20462 34 ;;
al@20462 35 esac
pascal@17312 36 }