2 # Copyright (C) 2009 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
10 PKG_NAME:=serialoverip
14 PKG_SOURCE:=$(PKG_NAME).tgz
15 PKG_SOURCE_URL:=@SF/serialoverip
16 PKG_MD5SUM:=0931cca65b8f9d32079fa3e55130ee1e
18 include $(INCLUDE_DIR)/package.mk
20 define Package/serialoverip
24 URL:=http://sourceforge.net/projects/serialoverip/
27 define Package/serialoverip/description
28 Tool for transport of serial interfaces over UDP/IP.
29 Usefull for accessing a distant serial device by a local program.
32 define Build/Configure
36 $(TARGET_CC) $(TARGET_CFLAGS) \
37 -o $(PKG_BUILD_DIR)/serialoverip $(PKG_BUILD_DIR)/serialoverip.c
40 define Package/serialoverip/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/serialoverip $(1)/usr/sbin/
45 $(eval $(call BuildPackage,serialoverip))