689b2b74ef
Tunctl is a tool for controlling the TUN/TAP driver in Linux. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> [Thomas: use $(TARGET_CONFIGURE_OPTS).] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
605 B
Makefile
23 lines
605 B
Makefile
################################################################################
|
|
#
|
|
# tunctl
|
|
#
|
|
################################################################################
|
|
|
|
TUNCTL_VERSION = 1.5
|
|
TUNCTL_SOURCE = tunctl-$(TUNCTL_VERSION).tar.gz
|
|
TUNCTL_SITE = http://downloads.sourceforge.net/project/tunctl/tunctl/$(TUNCTL_VERSION)
|
|
|
|
TUNCTL_LICENSE = GPLv2
|
|
TUNCTL_LICENSE_FILES = tunctl.c
|
|
|
|
define TUNCTL_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) tunctl
|
|
endef
|
|
|
|
define TUNCTL_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/tunctl $(TARGET_DIR)/usr/sbin/tunctl
|
|
endef
|
|
|
|
$(eval $(generic-package))
|