X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=utils%2Fpicocom%2FMakefile;h=21cc4e54824dfa1e49c20021984fd73e5ef04868;hp=e91ef3aa042b0f22a9e9b153470f72c5c68bc99a;hb=424aec3eeaf744a975fef7bb2644ddc31424d9be;hpb=e0866bfe0c7d11ee1ac42e98b17a18a0d5b3781d diff --git a/utils/picocom/Makefile b/utils/picocom/Makefile index e91ef3aa04..21cc4e5482 100644 --- a/utils/picocom/Makefile +++ b/utils/picocom/Makefile @@ -1,10 +1,9 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk @@ -12,11 +11,9 @@ PKG_NAME:=picocom PKG_VERSION:=1.4 PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/ +PKG_SOURCE_URL:=http://picocom.googlecode.com/files PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70 -PKG_CAT:=zcat include $(INCLUDE_DIR)/package.mk @@ -24,15 +21,18 @@ define Package/picocom SECTION:=utils CATEGORY:=Utilities TITLE:=A minimal dumb-terminal emulation program - DESCRIPTION:=A minimal dumb-terminal emulation program.\\\ - As its name suggests, picocom is a minimal dumb-terminal emulation \\\ - program. It is, in principle, very much like minicom, only it's pico \\\ - instead of mini! It was designed to serve as a simple, manual, modem \\\ - configuration, testing, and debugging tool. It has also served (quite \\\ - well) as a low-tech "terminal-window" to allow operator intervention \\\ - in PPP connection scripts. It could also prove useful in many other \\\ - similar tasks. - URL:=http://efault.net/npat/hacks/picocom/ + URL:=http://code.google.com/p/picocom/ + SUBMENU:=Terminal +endef + +define Package/picocom/description + As its name suggests, picocom is a minimal dumb-terminal emulation + program. It is, in principle, very much like minicom, only it's pico + instead of mini! It was designed to serve as a simple, manual, modem + configuration, testing, and debugging tool. It has also served (quite + well) as a low-tech "terminal-window" to allow operator intervention + in PPP connection scripts. It could also prove useful in many other + similar tasks. endef define Build/Configure @@ -41,14 +41,14 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ - CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ picocom endef define Package/picocom/install - install -d -m0755 $(1)/usr/bin - install -m0755 $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/ endef $(eval $(call BuildPackage,picocom))