2 # Copyright (C) 2014-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=https
://codeload.github.com
/cpb-
/spi-tools
/tar.gz
/$(PKG_VERSION
)?
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_HASH
:=a1846bf3b4d38fc419f8efe4555242aa581358fdca28452b3ca11f74e3572e33
18 PKG_MAINTAINER
:=John Crispin
<blogic@openwrt.org
>
19 PKG_LICENSE
:=GPL-2.0
-only
20 PKG_LICENSE_FILES
:=LICENSE
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/spi-tools
32 TITLE
:=Command line SPI tools
33 URL
:=https
://github.com
/cpb-
/spi-tools
36 define Package
/spi-tools
/install
37 $(INSTALL_DIR
) $(1)/usr
/bin
38 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/spi-config
$(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/spi-pipe
$(1)/usr
/bin
42 $(eval
$(call BuildPackage
,spi-tools
))