| 1 | # |
| 2 | # Copyright (C) 2007-2011 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | include $(INCLUDE_DIR)/kernel.mk |
| 10 | |
| 11 | PKG_NAME:=base-files-network |
| 12 | PKG_RELEASE:=3 |
| 13 | |
| 14 | PKG_BUILD_DEPENDS:=opkg/host |
| 15 | |
| 16 | include $(INCLUDE_DIR)/package.mk |
| 17 | |
| 18 | define Package/base-files-network |
| 19 | SECTION:=base |
| 20 | CATEGORY:=Base system |
| 21 | DEPENDS:=@!USE_NETIFD |
| 22 | TITLE:=Network scripts for the OpenWrt base system |
| 23 | URL:=http://openwrt.org/ |
| 24 | VERSION:=$(PKG_RELEASE) |
| 25 | endef |
| 26 | |
| 27 | define Package/base-files-network/description |
| 28 | This package contains the network system scripts for OpenWrt. |
| 29 | endef |
| 30 | |
| 31 | define Build/Prepare |
| 32 | mkdir -p $(PKG_BUILD_DIR) |
| 33 | endef |
| 34 | |
| 35 | define Build/Compile |
| 36 | |
| 37 | endef |
| 38 | |
| 39 | define Package/base-files-network/install |
| 40 | $(CP) ./files/* $(1)/ |
| 41 | endef |
| 42 | |
| 43 | |
| 44 | $(eval $(call BuildPackage,base-files-network)) |
| 45 | |
| 46 | |