include $(TOPDIR)/rules.mk PKG_NAME:=fs20pcs PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk define Package/fs20pcs SECTION:=utils CATEGORY:=Utilities DEPENDS:=+libusb-1.0 TITLE:=FS20PCS utility endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ endef define Package/fs20pcs/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/fs20pcs $(1)/usr/bin/ endef $(eval $(call BuildPackage,fs20pcs))