]>
Commit | Line | Data |
---|---|---|
1 | include $(TOPDIR)/rules.mk | |
2 | ||
3 | PKG_NAME:=fs20pcs | |
4 | PKG_RELEASE:=1 | |
5 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) | |
6 | ||
7 | include $(INCLUDE_DIR)/package.mk | |
8 | ||
9 | define Package/fs20pcs | |
10 | SECTION:=utils | |
11 | CATEGORY:=Utilities | |
12 | DEPENDS:=+libusb-1.0 | |
13 | TITLE:=FS20PCS utility | |
14 | endef | |
15 | ||
16 | define Build/Prepare | |
17 | mkdir -p $(PKG_BUILD_DIR) | |
18 | $(CP) ./src/* $(PKG_BUILD_DIR)/ | |
19 | endef | |
20 | ||
21 | define Package/fs20pcs/install | |
22 | $(INSTALL_DIR) $(1)/usr/bin/ | |
23 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/fs20pcs $(1)/usr/bin/ | |
24 | endef | |
25 | ||
26 | $(eval $(call BuildPackage,fs20pcs)) |