![Yann E. MORIN](/assets/img/avatar_default.png)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
25 lines
748 B
Makefile
25 lines
748 B
Makefile
################################################################################
|
|
#
|
|
# traceroute
|
|
#
|
|
################################################################################
|
|
|
|
TRACEROUTE_VERSION = 2.1.0
|
|
TRACEROUTE_SITE = http://downloads.sourceforge.net/traceroute/traceroute/traceroute-$(TRACEROUTE_VERSION)
|
|
|
|
TRACEROUTE_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
TRACEROUTE_LICENSE_FILES = COPYING COPYING.LIB
|
|
|
|
define TRACEROUTE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
|
endef
|
|
|
|
define TRACEROUTE_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
DESTDIR=$(TARGET_DIR) prefix=/usr install \
|
|
INSTALL=$(INSTALL) -C $(@D)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|