diff options
Diffstat (limited to 'network/c-toxcore')
-rw-r--r-- | network/c-toxcore/README | 22 | ||||
-rw-r--r-- | network/c-toxcore/c-toxcore.SlackBuild | 28 | ||||
-rw-r--r-- | network/c-toxcore/c-toxcore.info | 8 |
3 files changed, 36 insertions, 22 deletions
diff --git a/network/c-toxcore/README b/network/c-toxcore/README index aef1928e98..ba384d1ecc 100644 --- a/network/c-toxcore/README +++ b/network/c-toxcore/README @@ -1,16 +1,20 @@ -Tox is a free (as in liberty and price) peer to peer, distributed, multimedia -messenger. Tox can provide a superior instant messaging experience than current -market offerings by using existing technologies such as dispersed networking -and strong cryptography. Files can be shared as fast as you and your partner's -Internet connection allows, audio calls are instantaneous, and there are no -arbitrary limits to how many people you can have in a group conversation. +Tox is a free (as in liberty and price) peer to peer, distributed, +multimedia messenger. Tox can provide a superior instant +messaging experience than current market offerings by using +existing technologies such as dispersed networking and strong +cryptography. Files can be shared as fast as you and your partner's +Internet connection allows, audio calls are instantaneous, and there +are no arbitrary limits to how many people you can have in a group +conversation. -This is a fork of the original irungentoo/toxcore. Toxcore developer has been -unable to find time to work on it and a non-hostile fork was created. +This is a fork of the original irungentoo/toxcore. Toxcore developer +has been unable to find time to work on it and a non-hostile fork was +created. Additional libconfig dependency is needed for tox-bootstrapd daemon, together with: DAEMON=yes ./c-toxcore.SlackBuild -NOTE: Please remove the original toxcore package before installing c-toxcore. +NOTE: Please remove the original toxcore package before installing +c-toxcore. diff --git a/network/c-toxcore/c-toxcore.SlackBuild b/network/c-toxcore/c-toxcore.SlackBuild index 54d332202f..6648543da4 100644 --- a/network/c-toxcore/c-toxcore.SlackBuild +++ b/network/c-toxcore/c-toxcore.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for c-toxcore -# Copyright 2015, 2016, 2017, 2018 Mario Preksavec, Zagreb, Croatia +# Copyright 2015, 2021 Mario Preksavec, Zagreb, Croatia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,28 +22,38 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=c-toxcore -VERSION=${VERSION:-0.2.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.2.12} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} DAEMON=${DAEMON:-no} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -110,4 +120,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/c-toxcore/c-toxcore.info b/network/c-toxcore/c-toxcore.info index f5e221b192..5e87461570 100644 --- a/network/c-toxcore/c-toxcore.info +++ b/network/c-toxcore/c-toxcore.info @@ -1,10 +1,10 @@ PRGNAM="c-toxcore" -VERSION="0.2.1" +VERSION="0.2.12" HOMEPAGE="https://github.com/TokTok/c-toxcore" -DOWNLOAD="https://github.com/TokTok/c-toxcore/archive/v0.2.1/c-toxcore-0.2.1.tar.gz" -MD5SUM="e480a1924afd07b64ba5e6315787db5e" +DOWNLOAD="https://github.com/TokTok/c-toxcore/archive/v0.2.12/c-toxcore-0.2.12.tar.gz" +MD5SUM="16033d63c6520cd023acddaabe84fb95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README% libsodium opus" +REQUIRES="%README%" MAINTAINER="Mario Preksavec" EMAIL="mario at slackware dot hr" |