2006-12-12 23:13:41 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# netplug
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-12-12 22:54:01 +01:00
|
|
|
NETPLUG_VERSION=1.2.9.2
|
2007-07-11 16:06:06 +02:00
|
|
|
NETPLUG_SOURCE=netplug-$(NETPLUG_VERSION).tar.bz2
|
2006-12-12 23:13:41 +01:00
|
|
|
NETPLUG_SITE=http://www.red-bean.com/~bos/netplug
|
|
|
|
|
2010-12-12 22:54:01 +01:00
|
|
|
define NETPLUG_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
2006-12-12 23:13:41 +01:00
|
|
|
|
2010-12-12 22:54:01 +01:00
|
|
|
define NETPLUG_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
|
|
endef
|
2006-12-12 23:13:41 +01:00
|
|
|
|
2010-12-12 22:54:01 +01:00
|
|
|
define NETPLUG_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/sbin/netplugd
|
2006-12-12 23:13:41 +01:00
|
|
|
rm -rf $(TARGET_DIR)/etc/netplug*
|
|
|
|
rm -f $(TARGET_DIR)/etc/init.d/S*netplug
|
2010-12-12 22:54:01 +01:00
|
|
|
endef
|
2006-12-12 23:13:41 +01:00
|
|
|
|
2010-12-12 22:54:01 +01:00
|
|
|
define NETPLUG_CLEAN_CMDS
|
|
|
|
-$(MAKE) -C $(@D) clean
|
|
|
|
endef
|
2006-12-12 23:13:41 +01:00
|
|
|
|
2010-12-12 22:54:01 +01:00
|
|
|
$(eval $(call GENTARGETS,package,netplug))
|