1 ################################################################################
5 ################################################################################
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
14 # libbfd may be linked to libintl
15 # Ugly... but LDFLAGS are hardcoded anyway
17 $(TARGET_LDFLAGS
) -lbfd
-lreadline
-lnl-3
-lnl-genl-3 \
18 -lpthread
-lncurses
-lm
20 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
21 DROPWATCH_LDFLAGS
+= -lintl
24 define DROPWATCH_BUILD_CMDS
25 $(TARGET_CONFIGURE_OPTS
) $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) \
26 LDFLAGS
="$(DROPWATCH_LDFLAGS)" build
29 define DROPWATCH_INSTALL_TARGET_CMDS
30 $(INSTALL
) -D
-m
0755 $(@D
)/src
/dropwatch \
31 $(TARGET_DIR
)/usr
/bin
/dropwatch
34 $(eval
$(generic-package
))