diff options
Diffstat (limited to 'libraries/eris')
-rw-r--r-- | libraries/eris/README | 9 | ||||
-rw-r--r-- | libraries/eris/eris.SlackBuild | 22 |
2 files changed, 22 insertions, 9 deletions
diff --git a/libraries/eris/README b/libraries/eris/README index 1d5121d055..5228f532e8 100644 --- a/libraries/eris/README +++ b/libraries/eris/README @@ -1,4 +1,5 @@ -Eris is designed to simplify client development (and avoid duplicating effort) -by providing a common framework to deal with server communications. Notably, -Eris encapsulates most of the work in getting Atlas entities available on your -client, logging into a server, and managing updates from the server. +Eris is designed to simplify client development (and avoid duplicating +effort) by providing a common framework to deal with server +communications. Notably, Eris encapsulates most of the work in getting +Atlas entities available on your client, logging into a server, and +managing updates from the server. diff --git a/libraries/eris/eris.SlackBuild b/libraries/eris/eris.SlackBuild index 42e54b4208..a0a66d8374 100644 --- a/libraries/eris/eris.SlackBuild +++ b/libraries/eris/eris.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for eris @@ -22,10 +22,13 @@ # 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=eris VERSION=${VERSION:-1.3.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then 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} @@ -70,7 +80,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++14" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -90,8 +100,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS CHANGES-1.4 COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + 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 |