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.

34 lines
838 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=setserial
  3. PKG_VERSION:=2.17
  4. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  5. PKG_SOURCE_URL:=@SF/setserial
  6. PKG_HASH:=7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a
  7. PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
  8. PKG_LICENSE:=GPL-2.0
  9. include $(INCLUDE_DIR)/package.mk
  10. define Package/setserial
  11. SECTION:=utils
  12. CATEGORY:=Utilities
  13. URL:=http://setserial.sourceforge.net/
  14. TITLE:=Serial port attribute utility
  15. endef
  16. define Package/setserial/install
  17. $(INSTALL_DIR) $(1)/bin
  18. $(INSTALL_BIN) $(PKG_BUILD_DIR)/setserial $(1)/bin/
  19. endef
  20. define Package/setserial/description
  21. Setserial is a program which allows you to look at and change various
  22. attributes of a serial device, including its port, its IRQ, and other
  23. serial port options.
  24. endef
  25. $(eval $(call BuildPackage,setserial))