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