kumquat-buildroot/package/logsurfer/logsurfer.mk
Jerzy Grzegorek 0e2e7c71d0 package: remove the default value of the $(PKG)_SOURCE variable
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com)
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-06 21:52:19 +02:00

29 lines
806 B
Makefile

################################################################################
#
# logsurfer
#
################################################################################
LOGSURFER_VERSION = 1.8
LOGSURFER_SITE = http://downloads.sourceforge.net/project/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))