kumquat-buildroot/package/tunctl/tunctl.mk
Sergio Prado 689b2b74ef tunctl: new package
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>
2016-07-23 22:56:24 +02:00

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))