network/skylable-sx: Updated for version 0.9.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
simotrone 2014-10-01 23:52:33 +07:00 committed by Willy Sudiarto Raharjo
parent 06613412a5
commit 9dc0183c3a
3 changed files with 16 additions and 14 deletions

View file

@ -7,12 +7,12 @@ by the sysadmin) and synchronized.
Additionally Sx has built-in support for deduplication, client-side encryption,
on-the-fly compression and much more.
To start immediately, read the quickguide!
To start immediately, read /usr/doc/skylable-sx-0.9/quickstart/quickstart.pdf!
NOTE 1: Everything needed by sx and not in the system will be built statically.
If you prefer (like me) system libs get yajl and fcgi from SBo.
Also sqlite3 3.8.4.3 can be linked dinamically but you must compile it
by source (target the lib64 if x86_64 is your system arch).
NOTE 1: Every required library which is not found on the system will be built
from the included sources.
sqlite3 3.8.4.3 can be linked dinamically but you must compile it by
source (target the lib64 if x86_64 is your system arch).
NOTE 2: To build only a client, uncomment the ONLY_CLIENT parameter in
NOTE 2: To build only a client, uncomment the CLIENT_ONLY parameter in
skylable-sx.SlackBuild.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skylable-sx
VERSION=${VERSION:-0.4}
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,14 +69,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# ONLY_CLIENT="--disable-server"
# CLIENT_ONLY="--disable-server"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
$ONLY_CLIENT \
$CLIENT_ONLY \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@ -88,8 +88,10 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/rc.sxserver > $PKG/usr/doc/$PRGNAM-$VERSION/rc.sxserver
cp -ar COPYING NEWS README doc/quickstart $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="skylable-sx"
VERSION="0.4"
VERSION="0.9"
HOMEPAGE="http://www.skylable.com"
DOWNLOAD="http://cdn.skylable.com/source/sx-0.4.tar.gz"
MD5SUM="7d600263a189b6b50474c07c0d36d471"
DOWNLOAD="http://cdn.skylable.com/source/sx-0.9.tar.gz"
MD5SUM="6ca4abc9a27864d3984e4a49d8bd298a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="yajl fcgi"
MAINTAINER="simotrone"
EMAIL="simotrone@gmail.com"