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
857 B

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