The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dropwatch / dropwatch.mk
1 ################################################################################
2 #
3 # dropwatch
4 #
5 ################################################################################
6
7 DROPWATCH_VERSION = 1.4
8 DROPWATCH_SOURCE = dropwatch-$(DROPWATCH_VERSION).tar.xz
9 DROPWATCH_SITE = https://git.fedorahosted.org/cgit/dropwatch.git/snapshot
10 DROPWATCH_DEPENDENCIES = binutils libnl readline host-pkgconf
11 DROPWATCH_LICENSE = GPLv2
12 DROPWATCH_LICENSE_FILES = COPYING
13
14 # libbfd may be linked to libintl
15 # Ugly... but LDFLAGS are hardcoded anyway
16 DROPWATCH_LDFLAGS = \
17         $(TARGET_LDFLAGS) -lbfd -lreadline -lnl-3 -lnl-genl-3 \
18                 -lpthread -lncurses -lm
19
20 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
21 DROPWATCH_LDFLAGS += -lintl
22 endif
23
24 define DROPWATCH_BUILD_CMDS
25         $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
26                 LDFLAGS="$(DROPWATCH_LDFLAGS)" build
27 endef
28
29 define DROPWATCH_INSTALL_TARGET_CMDS
30         $(INSTALL) -D -m 0755 $(@D)/src/dropwatch \
31                 $(TARGET_DIR)/usr/bin/dropwatch
32 endef
33
34 $(eval $(generic-package))