Skip to content

Commit

Permalink
package: add sredird
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information
jacmet committed Jun 10, 2011
1 parent e446aa0 commit c324cf0
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/Config.in
Expand Up @@ -202,6 +202,7 @@ endif
source "package/smartmontools/Config.in"
source "package/squashfs/Config.in"
source "package/squashfs3/Config.in"
source "package/sredird/Config.in"
source "package/sshfs/Config.in"
source "package/sysstat/Config.in"
source "package/udev/Config.in"
Expand Down
6 changes: 6 additions & 0 deletions package/sredird/Config.in
@@ -0,0 +1,6 @@
config BR2_PACKAGE_SREDIRD
bool "sredird"
help
Sredird is a serial port redirector that is compliant with
the RFC 2217 "Telnet Com Port Control Option" protocol. This
protocol lets you share a serial port through the network.
27 changes: 27 additions & 0 deletions package/sredird/sredird.mk
@@ -0,0 +1,27 @@
#############################################################
#
# sredird
#
#############################################################

SREDIRD_VERSION = 2.2.1-1.1
SREDIRD_SOURCE = sredird_$(SREDIRD_VERSION).tar.gz
SREDIRD_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sredird

define SREDIRD_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef

define SREDIRD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
endef

define SREDIRD_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/sbin/sredird
endef

define SREDIRD_CLEAN_CMDS
rm -f $(@D)/sredird
endef

$(eval $(call GENTARGETS,package,sredird))

0 comments on commit c324cf0

Please sign in to comment.