# -*-makefile-*- # # Copyright (C) 2008 by Robert Schwebel # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_URSHD) += urshd # # Paths and names # URSHD_VERSION := 1.0.2 URSHD_MD5 := f41da5fca7dfc78aac0ecfa858c3c4b8 URSHD := urshd-$(URSHD_VERSION) URSHD_SUFFIX := tar.bz2 URSHD_URL := http://www.pengutronix.de/software/urshd/download/v1.0/$(URSHD).$(URSHD_SUFFIX) URSHD_SOURCE := $(SRCDIR)/$(URSHD).$(URSHD_SUFFIX) URSHD_DIR := $(BUILDDIR)/$(URSHD) URSHD_LICENSE := BSD-4-Clause # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- URSHD_PATH := PATH=$(CROSS_PATH) URSHD_ENV := $(CROSS_ENV) # # autoconf # URSHD_AUTOCONF := $(CROSS_AUTOCONF_USR) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/urshd.targetinstall: @$(call targetinfo) @$(call install_init, urshd) @$(call install_fixup, urshd,PRIORITY,optional) @$(call install_fixup, urshd,SECTION,base) @$(call install_fixup, urshd,AUTHOR,"Robert Schwebel ") @$(call install_fixup, urshd,DESCRIPTION,missing) @$(call install_copy, urshd, 0, 0, 0755, -, \ /usr/bin/urshd) ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_URSHD_STARSCRIPT @$(call install_copy, urshd, 0, 0, 0755, /etc/init.d) @$(call install_alternative, urshd, 0, 0, 0755, /etc/init.d/urshd) endif endif ifdef PTXCONF_URSHD_SYSTEMD_UNIT @$(call install_alternative, urshd, 0, 0, 0644, \ /lib/systemd/system/urshd.service) @$(call install_link, urshd, ../urshd.service, \ /lib/systemd/system/multi-user.target.wants/urshd.service) endif @$(call install_finish, urshd) @$(call touch) # vim: syntax=make