Merge pull request #16078 from ja-pa/fix-email
[feed/packages.git] / utils / minicom / Makefile
1 #
2 # Copyright (C) 2006-2017 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:=minicom
11 PKG_VERSION:=2.8
12 PKG_RELEASE:=$(AUTORELEASE)
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=https://salsa.debian.org/minicom-team/minicom/-/archive/$(PKG_VERSION)
16 PKG_HASH:=38cea30913a20349326ff3f1763ee1512b7b41601c24f065f365e18e9db0beba
17 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
18
19 PKG_LICENSE:=GPL-2.0-or-later
20 PKG_LICENSE_FILES:=COPYING
21 PKG_CPE_ID:=cpe:/a:minicom:minicom
22
23 PKG_FIXUP:=autoreconf
24
25 include $(INCLUDE_DIR)/nls.mk
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/minicom
29 SECTION:=utils
30 CATEGORY:=Utilities
31 DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libncurses
32 TITLE:=Terminal emulation program
33 URL:=https://salsa.debian.org/minicom-team/minicom
34 SUBMENU:=Terminal
35 endef
36
37 define Package/minicom/conffiles
38 /etc/minirc.dfl
39 endef
40
41 define Package/minicom/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ascii-xfr $(1)/usr/sbin/
45 endef
46
47 $(eval $(call BuildPackage,minicom))