2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://picocom.googlecode.com
/files
16 PKG_HASH
:=d0f31c8f7a215a76922d30c81a52b9a2348c89e02a84935517002b3bc2c1129e
18 PKG_MAINTAINER
:=Steven Barth
<cyrus@openwrt.org
>
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/picocom
26 TITLE
:=A minimal dumb-terminal emulation program
27 URL
:=http
://code.google.com
/p
/picocom
/
31 define Package
/picocom
/description
32 minimal dumb-terminal emulation program
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) $(TARGET_CONFIGURE_OPTS
) \
37 CFLAGS
="$(TARGET_CFLAGS)" LDFLAGS
="$(TARGET_LDFLAGS)" \
41 define Package
/picocom
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/picocom
$(1)/usr
/bin
/
46 $(eval
$(call BuildPackage
,picocom
))