kumquat-buildroot/package/logsurfer/logsurfer.mk
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00

30 lines
848 B
Makefile

#############################################################
#
# logsurfer
#
#############################################################
LOGSURFER_VERSION = 1.8
LOGSURFER_SOURCE = logsurfer-$(LOGSURFER_VERSION).tar.gz
LOGSURFER_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/logsurfer/logsurfer/logsurfer-$(LOGSURFER_VERSION)
define LOGSURFER_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/src/logsurfer \
$(TARGET_DIR)/usr/bin/logsurfer
endef
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
define LOGSURFER_INSTALL_TARGET_MAN
$(INSTALL) -D -m 0644 $(@D)/man/logsurfer.1 \
$(TARGET_DIR)/usr/man/man1/logsurfer.1
$(INSTALL) -D -m 0644 $(@D)/man/logsurfer.conf.4 \
$(TARGET_DIR)/usr/man/man4/logsurfer.conf.4
endef
LOGSURFER_POST_INSTALL_TARGET_HOOKS += LOGSURFER_INSTALL_TARGET_MAN
endif
$(eval $(autotools-package))