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.

47 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:=3.1
  10. PKG_RELEASE:=5
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/npat-efault/picocom/tar.gz/$(PKG_VERSION)?
  13. PKG_HASH:=e6761ca932ffc6d09bd6b11ff018bdaf70b287ce518b3282d29e0270e88420bb
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_LICENSE:=LICENSE.txt
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/picocom
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=A minimal dumb-terminal emulation program
  22. URL:=https://github.com/npat-efault/picocom
  23. SUBMENU:=Terminal
  24. endef
  25. define Package/picocom/description
  26. minimal dumb-terminal emulation program
  27. endef
  28. define Build/Compile
  29. $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) \
  30. CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
  31. picocom
  32. endef
  33. define Package/picocom/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,picocom))