039cd77e64
Adds odhcploc, a network utility to scan for (rogue) DHCP servers. [Thomas: - remove ODHCPLOC_SOURCE line, not needed since the value was the default - use 'make install' instead of manually installing the program - use TARGET_CONFIGURE_OPTS instead of passing just CC and LD - use tab for indentation inside command definitions instead of spaces] Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
560 B
Makefile
21 lines
560 B
Makefile
################################################################################
|
|
#
|
|
# odhcploc
|
|
#
|
|
################################################################################
|
|
|
|
ODHCPLOC_VERSION = 20111021
|
|
ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION)
|
|
ODHCPLOC_LICENSE = ISC
|
|
ODHCPLOC_LICENSE_FILES = COPYING
|
|
|
|
define ODHCPLOC_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define ODHCPLOC_INSTALL_TARGET_CMDS
|
|
$(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|