summaryrefslogtreecommitdiffstats
path: root/package/tunctl/tunctl.mk
blob: 81e6c8cc2c6b2ef3be47568e347238d252d0fc6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# 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))
OpenPOWER on IntegriCloud