Changeset 4272


Ignore:
Timestamp:
2006-07-24T21:05:45+02:00 (12 years ago)
Author:
nico
Message:

port picocom to buildroot-ng

Location:
packages/utils/picocom
Files:
2 deleted
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • packages/utils/picocom/Makefile

    r2379 r4272  
     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# 
    17# $Id$ 
    28 
     
    612PKG_VERSION:=1.4 
    713PKG_RELEASE:=1 
     14 
     15PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     17PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/ 
    818PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70 
    9  
    10 PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/ 
    11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1219PKG_CAT:=zcat 
    1320 
    14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
     21include $(INCLUDE_DIR)/package.mk 
    1622 
    17 include $(TOPDIR)/package/rules.mk 
     23define Package/picocom 
     24  SECTION:=utils 
     25  CATEGORY:=Utilities 
     26  TITLE:=A minimal dumb-terminal emulation program 
     27  DESCRIPTION:=A minimal dumb-terminal emulation program.\\\ 
     28    As its name suggests, picocom is a minimal dumb-terminal emulation \\\ 
     29    program. It is, in principle, very much like minicom, only it's pico \\\ 
     30    instead of mini! It was designed to serve as a simple, manual, modem \\\ 
     31    configuration, testing, and debugging tool. It has also served (quite \\\ 
     32    well) as a low-tech "terminal-window" to allow operator intervention \\\ 
     33    in PPP connection scripts. It could also prove useful in many other \\\ 
     34    similar tasks. 
     35  URL:=http://efault.net/npat/hacks/picocom/ 
     36endef 
    1837 
    19 $(eval $(call PKG_template,PICOCOM,picocom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     38define Build/Configure 
     39endef 
    2040 
    21 $(PKG_BUILD_DIR)/.configured: 
    22         touch $@ 
    23  
    24 $(PKG_BUILD_DIR)/.built: 
     41define Build/Compile 
    2542        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    2643                $(TARGET_CONFIGURE_OPTS) \ 
     
    2845                CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \ 
    2946                picocom 
    30         touch $@ 
     47endef 
    3148 
    32 $(IPKG_PICOCOM): 
    33         install -d -m0755 $(IDIR_PICOCOM)/usr/bin 
    34         install -m0755 $(PKG_BUILD_DIR)/picocom $(IDIR_PICOCOM)/usr/bin/ 
    35         $(RSTRIP) $(IDIR_PICOCOM) 
    36         $(IPKG_BUILD) $(IDIR_PICOCOM) $(PACKAGE_DIR) 
     49define Package/picocom/install 
     50        install -d -m0755 $(1)/usr/bin 
     51        install -m0755 $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/ 
     52endef 
     53 
     54$(eval $(call BuildPackage,picocom)) 
Note: See TracChangeset for help on using the changeset viewer.