# -*-makefile-*- # # Copyright (C) 2006 by Robert Schwebel # 2010 by Marc Kleine-Budde # # 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_LIBDAEMON) += libdaemon # # Paths and names # LIBDAEMON_VERSION := 0.14 LIBDAEMON := libdaemon-$(LIBDAEMON_VERSION) LIBDAEMON_SUFFIX := tar.gz LIBDAEMON_URL := http://0pointer.de/lennart/projects/libdaemon/$(LIBDAEMON).$(LIBDAEMON_SUFFIX) LIBDAEMON_SOURCE := $(SRCDIR)/$(LIBDAEMON).$(LIBDAEMON_SUFFIX) LIBDAEMON_DIR := $(BUILDDIR)/$(LIBDAEMON) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(LIBDAEMON_SOURCE): @$(call targetinfo) @$(call get, LIBDAEMON) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- LIBDAEMON_PATH := PATH=$(CROSS_PATH) LIBDAEMON_ENV := $(CROSS_ENV) # # autoconf # LIBDAEMON_AUTOCONF := \ $(CROSS_AUTOCONF_USR) \ --disable-lynx # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/libdaemon.targetinstall: @$(call targetinfo) @$(call install_init, libdaemon) @$(call install_fixup,libdaemon,PRIORITY,optional) @$(call install_fixup,libdaemon,SECTION,base) @$(call install_fixup,libdaemon,AUTHOR,"Robert Schwebel ") @$(call install_fixup,libdaemon,DESCRIPTION,missing) @$(call install_copy, libdaemon, 0, 0, 0644, -, \ /usr/lib/libdaemon.so.0.5.0) @$(call install_link, libdaemon, \ libdaemon.so.0.5.0, \ /usr/lib/libdaemon.so.0) @$(call install_link, libdaemon, \ libdaemon.so.0.5.0, \ /usr/lib/libdaemon.so) @$(call install_finish,libdaemon) @$(call touch) # vim: syntax=make