2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2006-12-13 06:13:41 +08:00
|
|
|
#
|
|
|
|
# netplug
|
|
|
|
#
|
2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2013-06-06 07:53:25 +08:00
|
|
|
|
2013-07-20 14:52:43 +08:00
|
|
|
NETPLUG_VERSION = 1.2.9.2
|
|
|
|
NETPLUG_SOURCE = netplug-$(NETPLUG_VERSION).tar.bz2
|
|
|
|
NETPLUG_SITE = http://www.red-bean.com/~bos/netplug
|
2014-06-25 02:55:29 +08:00
|
|
|
NETPLUG_LICENSE = GPLv2
|
|
|
|
NETPLUG_LICENSE_FILES = COPYING
|
2006-12-13 06:13:41 +08:00
|
|
|
|
2010-12-13 05:54:01 +08:00
|
|
|
define NETPLUG_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
2006-12-13 06:13:41 +08:00
|
|
|
|
2010-12-13 05:54:01 +08:00
|
|
|
define NETPLUG_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
|
|
endef
|
2006-12-13 06:13:41 +08:00
|
|
|
|
2013-09-04 01:22:54 +08:00
|
|
|
define NETPLUG_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 0755 -D package/netplug/S29netplug \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S29netplug
|
|
|
|
endef
|
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(generic-package))
|