You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=picocom
  9. PKG_VERSION:=1.7
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://picocom.googlecode.com/files
  13. PKG_HASH:=d0f31c8f7a215a76922d30c81a52b9a2348c89e02a84935517002b3bc2c1129e
  14. PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
  15. PKG_LICENSE:=GPL-2.0+
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/picocom
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=A minimal dumb-terminal emulation program
  21. URL:=http://code.google.com/p/picocom/
  22. SUBMENU:=Terminal
  23. endef
  24. define Package/picocom/description
  25. minimal dumb-terminal emulation program
  26. endef
  27. define Build/Compile
  28. $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) \
  29. CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
  30. picocom
  31. endef
  32. define Package/picocom/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,picocom))