Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / utils / minicom / Makefile
1 #
2 # Copyright (C) 2006-2015 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
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/3977/
16 PKG_HASH:=9ac3a663b82f4f5df64114b4792b9926b536c85f59de0f2d2b321c7626a904f4
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))