f618428e071f208707e92cdbc87ef10e04dd8b54
[openwrt/svn-archive/archive.git] / utils / minicom / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 4644 2006-08-23 22:05:05Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=minicom
12 PKG_VERSION:=2.2-rc2
13 PKG_RELEASE:=1
14 PKG_MD5SUM:=c64c9ef958e91c00ca1cf2a7bc0db1f3
15
16 PKG_SOURCE_URL:=http://alioth.debian.org/download.php/1721/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/minicom
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libncurses
28 TITLE:=Terminal emulation
29 DESCRIPTION:=Terminal emulation program for the serial port
30 URL:=http://alioth.debian.org/projects/minicom/
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default)
35 endef
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 CC="$(TARGET_CC)"
40 endef
41
42 define Package/minicom/install
43 install -m0755 -d $(1)/usr/sbin
44 install -m0755 $(PKG_BUILD_DIR)/src/minicom $(1)/usr/sbin/
45 endef
46
47 $(eval $(call BuildPackage,minicom))