blogic 15566b24f2 more package submenus
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 19:03:20 +00:00

50 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=microcom
PKG_VERSION:=1.02
PKG_RELEASE:=1
PKG_SOURCE:=m102.tar.gz
PKG_SOURCE_URL:=http://microcom.port5.com/
PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_UNPACK:=zcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
include $(INCLUDE_DIR)/package.mk
define Package/microcom
SECTION:=utils
CATEGORY:=Utilities
TITLE:=A serial terminal emulation program
URL:=http://microcomlinux.homestead.com/
SUBMENU:=terminal
endef
define Package/microcom/description
microcom is a minicom-like serial terminal emulator with scripting
support.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
microcom
endef
define Package/microcom/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
endef
$(eval $(call BuildPackage,microcom))