Last active
December 31, 2015 09:08
-
-
Save soul9/7964524 to your computer and use it in GitHub Desktop.
OpenELEC.tv package for socat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. config/options $1 | |
cd $PKG_BUILD | |
./configure --host=$TARGET_NAME \ | |
--build=$HOST_NAME \ | |
--prefix=/usr \ | |
--bindir=/usr/bin \ | |
--sbindir=/usr/sbin \ | |
--sysconfdir=/etc \ | |
--disable-sctp \ | |
--disable-help \ | |
--disable-udp \ | |
--disable-socks4 \ | |
--disable-socks4a \ | |
--disable-proxy \ | |
--disable-readline \ | |
--disable-tun \ | |
--disable-filan \ | |
--disable-sycls \ | |
$MAKE | |
$MAKEINSTALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. config/options $1 | |
mkdir -p $INSTALL/usr/bin | |
cp $PKG_BUILD/socat $INSTALL/usr/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PKG_NAME="socat" | |
PKG_VERSION="1.7.2.2" | |
PKG_REV="1" | |
PKG_ARCH="arm" | |
PKG_LICENSE="GPL2" | |
PKG_SITE="http://www.dest-unreach.org/socat/" | |
PKG_URL="http://www.dest-unreach.org/socat/download/${PKG_NAME}-${PKG_VERSION}.tar.gz" | |
PKG_DEPENDS="readline openssl" | |
PKG_BUILD_DEPENDS="readline openssl" | |
PKG_PRIORITY="optional" | |
PKG_SECTION="network" | |
PKG_SHORTDESC="Multipurpose relay" | |
PKG_LONGDESC="socat is a relay for bidirectional data transfer between two independent data channels" | |
PKG_IS_ADDON="no" | |
PKG_AUTORECONF="no" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment