summaryrefslogtreecommitdiff
path: root/sterm/Makefile
blob: f8356b2be52d79ca783fcf4b28f5173fd9a936e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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))