fix picocom build

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5246 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-10-20 07:27:35 +00:00
parent e5970d7669
commit b02331c538

View File

@ -12,26 +12,27 @@ PKG_NAME:=picocom
PKG_VERSION:=1.4 PKG_VERSION:=1.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/ PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/
PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70 PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/picocom define Package/picocom
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=A minimal dumb-terminal emulation program TITLE:=A minimal dumb-terminal emulation program
DESCRIPTION:=A minimal dumb-terminal emulation program.\\\ DESCRIPTION:=\
As its name suggests, picocom is a minimal dumb-terminal emulation \\\ As its name suggests, picocom is a minimal dumb-terminal emulation \\\
program. It is, in principle, very much like minicom, only it's pico \\\ 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 \\\ instead of mini! It was designed to serve as a simple, manual, modem \\\
configuration, testing, and debugging tool. It has also served (quite \\\ configuration, testing, and debugging tool. It has also served (quite \\\
well) as a low-tech "terminal-window" to allow operator intervention \\\ well) as a low-tech "terminal-window" to allow operator intervention \\\
in PPP connection scripts. It could also prove useful in many other \\\ in PPP connection scripts. It could also prove useful in many other \\\
similar tasks. similar tasks.
URL:=http://efault.net/npat/hacks/picocom/ URL:=http://efault.net/npat/hacks/picocom/
endef endef
@ -41,8 +42,8 @@ endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
picocom picocom
endef endef