2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:03:56 +01:00
|
|
|
#
|
|
|
|
# rsh-redone
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:03:56 +01:00
|
|
|
|
|
|
|
RSH_REDONE_VERSION = 85
|
|
|
|
RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz
|
|
|
|
RSH_REDONE_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/r/rsh-redone
|
|
|
|
|
2014-04-12 17:08:14 +02:00
|
|
|
RSH_REDONE_BINS-y =
|
|
|
|
RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin
|
|
|
|
RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh
|
|
|
|
RSH_REDONE_SBINS-y =
|
|
|
|
RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += in.rlogind
|
|
|
|
RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RSHD) += in.rshd
|
|
|
|
|
|
|
|
RSH_REDONE_MAKE_FLAGS = \
|
|
|
|
BIN="$(RSH_REDONE_BINS-y)" SBIN="$(RSH_REDONE_SBINS-y)"
|
2013-11-18 15:34:45 +01:00
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_RSH_REDONE_RSHD)$(BR2_PACKAGE_RSH_REDONE_RLOGIND),)
|
|
|
|
RSH_REDONE_DEPENDENCIES = linux-pam
|
|
|
|
endif
|
2010-12-07 22:03:56 +01:00
|
|
|
|
|
|
|
define RSH_REDONE_BUILD_CMDS
|
2014-04-12 17:08:14 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS)
|
2010-12-07 22:03:56 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define RSH_REDONE_INSTALL_TARGET_CMDS
|
2014-04-12 17:08:14 +02:00
|
|
|
$(if $(RSH_REDONE_BINS-y)$(RSH_REDONE_SBINS-y),
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) DESTDIR=$(TARGET_DIR) \
|
|
|
|
$(if $(RSH_REDONE_BINS-y),install-bin) \
|
|
|
|
$(if $(RSH_REDONE_SBINS-y),install-sbin))
|
2010-12-07 22:03:56 +01:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|