Makefile revision 6e7c7370
1 2include $(TOPDIR)/rules.mk 3 4PKG_NAME:=appfilter 5PKG_RELEASE:=1 6 7PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 8 9 10include $(INCLUDE_DIR)/package.mk 11#include $(INCLUDE_DIR)/kernel.mk 12 13define Package/appfilter 14 SECTION:=Derry Apps 15 CATEGORY:=Derry Apps 16 TITLE:=App filter userspace module 17endef 18 19define Build/Prepare 20 mkdir -p $(PKG_BUILD_DIR) 21endef 22 23define Build/Compile/Default 24 25endef 26 27define Package/appfilter/description 28 open appfilter app 29endef 30 31 32define Package/appfilter/install 33 echo "install" 34 $(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d 35 $(INSTALL_DIR) $(1)/etc/appfilter 36 $(INSTALL_DIR) $(1)/etc/config 37 $(CP) ./files/feature.cfg $(1)/etc/appfilter/ 38 $(INSTALL_BIN) ./files/appfilter.init $(1)/etc/init.d/appfilter 39 $(INSTALL_BIN) ./files/appfilter.sh $(1)/usr/bin 40 $(INSTALL_BIN) ./files/gen_class.sh $(1)/usr/bin 41 $(INSTALL_BIN) ./files/appfilter.config $(1)/etc/config/appfilter 42endef 43 44 45$(eval $(call BuildPackage,appfilter)) 46 47