mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
6
package/tunctl/Config.in
Normal file
6
package/tunctl/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_TUNCTL
|
||||
bool "tunctl"
|
||||
help
|
||||
Tunctl is a tool for controlling the TUN/TAP driver in Linux.
|
||||
|
||||
https://sourceforge.net/projects/tunctl/
|
||||
2
package/tunctl/tunctl.hash
Normal file
2
package/tunctl/tunctl.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 aa2a6c4cc6bfacb11e0d9f62334a6638a0d435475c61230116f00b6af8b14fff tunctl-1.5.tar.gz
|
||||
21
package/tunctl/tunctl.mk
Normal file
21
package/tunctl/tunctl.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# tunctl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TUNCTL_VERSION = 1.5
|
||||
TUNCTL_SITE = http://downloads.sourceforge.net/project/tunctl/tunctl/$(TUNCTL_VERSION)
|
||||
|
||||
TUNCTL_LICENSE = GPL-2.0
|
||||
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))
|
||||
Reference in New Issue
Block a user