2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/setserial
16 PKG_MD5SUM:=c4867d72c41564318e0107745eb7a0f2
18 include $(INCLUDE_DIR)/package.mk
20 define Package/setserial
23 TITLE:=Serial port configuration utility
24 URL:=http://setserial.sourceforge.net/
28 define Package/setserial/description
29 setserial is a program designed to set and/or report the
30 configuration information associated with a serial port. This
31 information includes what I/O port and IRQ a particular
32 serial port is using, and whether or not the break key should
33 be interpreted as the Secure Attention Key, and so on.
39 $(MAKE) -C $(PKG_BUILD_DIR) \
43 define Package/setserial/install
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/setserial $(1)/usr/sbin/
46 $(INSTALL_DIR) $(1)/etc/config
47 $(INSTALL_DATA) ./files/setserial.config $(1)/etc/config/setserial
48 $(INSTALL_DIR) $(1)/etc/init.d
49 $(INSTALL_BIN) ./files/setserial.init $(1)/etc/init.d/setserial
52 define Package/setserial/conffiles
56 $(eval $(call BuildPackage,setserial))