[packages] elfutils: remove libintl hacks from makefile
[openwrt/svn-archive/archive.git] / utils / microcom / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=microcom
11 PKG_VERSION:=1.02
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=m102.tar.gz
15 PKG_SOURCE_URL:=http://microcom.port5.com/
16 PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
17
18 include $(INCLUDE_DIR)/package.mk
19
20 PKG_UNPACK:=zcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
21
22 define Package/microcom
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=A serial terminal emulation program
26 URL:=http://microcomlinux.homestead.com/
27 SUBMENU:=Terminal
28 endef
29
30 define Package/microcom/description
31 microcom is a minicom-like serial terminal emulator with scripting
32 support.
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 $(TARGET_CONFIGURE_OPTS) \
38 CFLAGS="$(TARGET_CFLAGS)" \
39 microcom
40 endef
41
42 define Package/microcom/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,microcom))