perl-path-tiny: bump to version 0.061
[buildroot-gz.git] / package / rsh-redone / rsh-redone.mk
bloba62c2df19355bc9d8e2f4453f3632924c8a228b6
1 ################################################################################
3 # rsh-redone
5 ################################################################################
7 RSH_REDONE_VERSION = 85
8 RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz
9 RSH_REDONE_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/r/rsh-redone
10 RSH_REDONE_LICENSE = GPLv2
11 RSH_REDONE_LICENSE_FILES = rsh.c
13 RSH_REDONE_BINS-y =
14 RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin
15 RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh
16 RSH_REDONE_SBINS-y =
17 RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += in.rlogind
18 RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RSHD) += in.rshd
20 RSH_REDONE_MAKE_FLAGS = \
21 BIN="$(RSH_REDONE_BINS-y)" SBIN="$(RSH_REDONE_SBINS-y)"
23 ifneq ($(BR2_PACKAGE_RSH_REDONE_RSHD)$(BR2_PACKAGE_RSH_REDONE_RLOGIND),)
24 RSH_REDONE_DEPENDENCIES = linux-pam
25 endif
27 define RSH_REDONE_BUILD_CMDS
28 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS)
29 endef
31 define RSH_REDONE_INSTALL_TARGET_CMDS
32 $(if $(RSH_REDONE_BINS-y)$(RSH_REDONE_SBINS-y),
33 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) DESTDIR=$(TARGET_DIR) \
34 $(if $(RSH_REDONE_BINS-y),install-bin) \
35 $(if $(RSH_REDONE_SBINS-y),install-sbin))
36 endef
38 $(eval $(generic-package))