diff options
-rw-r--r-- | sterm/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sterm/Makefile b/sterm/Makefile new file mode 100644 index 0000000..f8356b2 --- /dev/null +++ b/sterm/Makefile @@ -0,0 +1,34 @@ +# +## Copyright (C) 2021 Karel Kočí +# +## This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# # +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=sterm +PKG_VERSION:=20200306 +PKG_RELEASE:=1 +PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=git://rtime.felk.cvut.cz/sojka/sterm.git +PKG_MIRROR_HASH:=4a357ad09e20665a595c8854039d5ef5f64c90aa951903fcb69a5a4112d250b9 +PKG_SOURCE_VERSION:=$(PKG_VERSION) + +PKG_INSTALL:=1 +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk + +define Package/sterm + TITLE:=Simple serial terminal +endef + +define Package/sterm/install + $(INSTALL_DIR) $(1)/usr/local/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/sterm $(1)/usr/local/bin/ +endef + +$(eval $(call BuildPackage,sterm)) |