aboutsummaryrefslogtreecommitdiff
path: root/network/skylable-sx
diff options
context:
space:
mode:
authorsimotrone <simotrone@gmail.com>2014-10-01 23:52:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-03 10:16:59 +0700
commit9dc0183c3a91f26b795bff7ae09b9ff11bcdfc65 (patch)
tree6695ad6162f1d6b020ff3c4a9a489b9de631fbd3 /network/skylable-sx
parent06613412a5a02a65ca92eef3ee7105e072af2a17 (diff)
network/skylable-sx: Updated for version 0.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/skylable-sx')
-rw-r--r--network/skylable-sx/README12
-rw-r--r--network/skylable-sx/skylable-sx.SlackBuild10
-rw-r--r--network/skylable-sx/skylable-sx.info8
3 files changed, 16 insertions, 14 deletions
diff --git a/network/skylable-sx/README b/network/skylable-sx/README
index 6a0f9de8cff43..9222fe094bd88 100644
--- a/network/skylable-sx/README
+++ b/network/skylable-sx/README
@@ -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.
diff --git a/network/skylable-sx/skylable-sx.SlackBuild b/network/skylable-sx/skylable-sx.SlackBuild
index 93472bb92e826..4e3a5865cc023 100644
--- a/network/skylable-sx/skylable-sx.SlackBuild
+++ b/network/skylable-sx/skylable-sx.SlackBuild
@@ -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
diff --git a/network/skylable-sx/skylable-sx.info b/network/skylable-sx/skylable-sx.info
index 64c3b65266f82..2d7e80de0430e 100644
--- a/network/skylable-sx/skylable-sx.info
+++ b/network/skylable-sx/skylable-sx.info
@@ -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"