2016-07-23 22:18:50 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tunctl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
TUNCTL_VERSION = 1.5
|
|
|
|
TUNCTL_SITE = http://downloads.sourceforge.net/project/tunctl/tunctl/$(TUNCTL_VERSION)
|
|
|
|
|
2017-03-30 21:43:32 +08:00
|
|
|
TUNCTL_LICENSE = GPL-2.0
|
2016-07-23 22:18:50 +08:00
|
|
|
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))
|