packages/foxboard-utils: fix whitespaces
[packages.git] / utils / picocom / Makefile
1
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=picocom
11 PKG_VERSION:=1.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://picocom.googlecode.com/files
16 PKG_MD5SUM:=8eaba1d31407e8408674d6e57af447ef
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/picocom
21   SECTION:=utils
22   CATEGORY:=Utilities
23   TITLE:=A minimal dumb-terminal emulation program
24   URL:=http://code.google.com/p/picocom/
25   SUBMENU:=Terminal
26 endef
27
28 define Package/picocom/description
29  minimal dumb-terminal emulation program
30 endef
31
32 define Build/Compile
33         $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) \
34                 CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
35                 picocom
36 endef
37
38 define Package/picocom/install
39         $(INSTALL_DIR) $(1)/usr/bin
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,picocom))