1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_MD5SUM:=8eaba1d31407e8408674d6e57af447ef
  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))