summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-20 12:01:33 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-20 12:01:33 +0200
commit1b51398f29078009055fdb9bcefee693d8005751 (patch)
treeb9c5b3cba225fe79638254170558d430671e0591
parentb5aa5f4391bb40a291a7fba719d297427ec48da5 (diff)
downloadopenwrt-personal-pkgs-1b51398f29078009055fdb9bcefee693d8005751.tar.gz
openwrt-personal-pkgs-1b51398f29078009055fdb9bcefee693d8005751.tar.bz2
openwrt-personal-pkgs-1b51398f29078009055fdb9bcefee693d8005751.zip
sterm: add new package
-rw-r--r--sterm/Makefile34
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))