5bffc22c6b3997be7cabdcc71dda0258273773df
[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.7.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/4215
16 PKG_HASH:=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
17 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
18
19 PKG_LICENSE:=GPL-2.0
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_FIXUP:=autoreconf
23
24 include $(INCLUDE_DIR)/nls.mk
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/minicom
28 SECTION:=utils
29 CATEGORY:=Utilities
30 DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libncurses
31 TITLE:=Terminal emulation program
32 URL:=http://alioth.debian.org/projects/minicom/
33 SUBMENU:=Terminal
34 endef
35
36 define Package/minicom/conffiles
37 /etc/minirc.dfl
38 endef
39
40 define Package/minicom/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ascii-xfr $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,minicom))