lua-rs232: fix compilation with GCC13
[feed/packages.git] / utils / serialconsole / Makefile
1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sc
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/serialconsole/sc
16 PKG_HASH:=2e7a27d588a51173dda3093381604e6f0a16bb04e95b00fd652f37c34c2c6d04
17
18 PKG_MAINTAINER:=Stefan Bethke <stb@lassitu.de>
19 PKG_LICENSE:=BSD-2-Clause
20 PKG_LICENSE_FILES:=LICENSE
21
22 PKG_INSTALL:=1
23 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/serialconsole
28 SECTION:=utils
29 CATEGORY:=Utilities
30 SUBMENU:=Terminal
31 TITLE:=Serial Console - minimal terminal program
32 URL:=http://sourceforge.net/projects/serialconsole/
33 endef
34
35 define Package/serialconsole/description
36 serialconsole (sc) is a minimal terminal program allowing to use one machine
37 to access the serial console of another machine.
38 endef
39
40 define Package/serialconsole/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/sc $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,serialconsole))