diff options
Diffstat (limited to 'development/JSONObject')
-rw-r--r-- | development/JSONObject/JSONObject.SlackBuild | 103 | ||||
-rw-r--r-- | development/JSONObject/JSONObject.info | 10 | ||||
-rw-r--r-- | development/JSONObject/README | 7 | ||||
-rw-r--r-- | development/JSONObject/incl-iostream.patch | 11 | ||||
-rw-r--r-- | development/JSONObject/slack-desc | 19 |
5 files changed, 0 insertions, 150 deletions
diff --git a/development/JSONObject/JSONObject.SlackBuild b/development/JSONObject/JSONObject.SlackBuild deleted file mode 100644 index 4dc3689d8c..0000000000 --- a/development/JSONObject/JSONObject.SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh - -# Slackware build script for JSONObject - -# Copyright 2013 Mário Antunes <mariolpantunes@gmail.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=JSONObject -VERSION=${VERSION:-1.0.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -if [ -f $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fails to build with boost-1.58 (missing include) -patch -p1 < $CWD/incl-iostream.patch - -mkdir -p build -cd build - LDFLAGS="-lboost_system" \ - cmake \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=ON \ - -DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX \ - .. - make VERBOSE=1 - make install DESTDIR=$PKG -cd .. - -find $PKG | xargs file | grep -e "executable" -e "shared object" \ - | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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} diff --git a/development/JSONObject/JSONObject.info b/development/JSONObject/JSONObject.info deleted file mode 100644 index c5e168b97d..0000000000 --- a/development/JSONObject/JSONObject.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="JSONObject" -VERSION="1.0.2" -HOMEPAGE="https://github.com/ATNoG/JSONObject" -DOWNLOAD="https://github.com/ATNoG/JSONObject/archive/v1.0.2.tar.gz" -MD5SUM="a329aed36a18170511cbadc009d75311" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Mário Antunes" -EMAIL="mariolpantunes@gmail.com" diff --git a/development/JSONObject/README b/development/JSONObject/README deleted file mode 100644 index a21f2dd701..0000000000 --- a/development/JSONObject/README +++ /dev/null @@ -1,7 +0,0 @@ -JSON wrapper for boost property tree. Easy to use JSON library -based on the API of the Java JSON.org one -(http://www.json.org/java/index.html). - -The main focus of the library is to be easy to use and use the -less amount of dependencies possible. This library only requires -boost property tree, boost reges and boost thread to be used. diff --git a/development/JSONObject/incl-iostream.patch b/development/JSONObject/incl-iostream.patch deleted file mode 100644 index 1033ea7a6f..0000000000 --- a/development/JSONObject/incl-iostream.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r JSONObject-1.0.2/JSONObject.hpp JSONObject-1.0.2-patched/JSONObject.hpp ---- JSONObject-1.0.2/JSONObject.hpp 2013-03-15 10:07:13.000000000 +0000 -+++ JSONObject-1.0.2-patched/JSONObject.hpp 2015-08-21 15:49:05.151811279 +0100 -@@ -15,6 +15,7 @@ - #include <string> - #include <sstream> - #include <vector> -+#include <iostream> - - #include <boost/property_tree/ptree.hpp> - #include <boost/regex.hpp> diff --git a/development/JSONObject/slack-desc b/development/JSONObject/slack-desc deleted file mode 100644 index 6027ae868c..0000000000 --- a/development/JSONObject/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -JSONObject: JSONObject (JSON C++ library) -JSONObject: -JSONObject: JSON wrapper for boost property tree. Easy to use JSON library -JSONObject: based on the API of the Java JSON.org one -JSONObject: (http://www.json.org/java/index.html). -JSONObject: -JSONObject: The main focus of the library is to be easy to use and use the -JSONObject: less amount of dependencies possible. This library only requires -JSONObject: boost property tree, boost reges and boost thread to be used. -JSONObject: -JSONObject: homepage: https://github.com/mariolpantunes/json |