aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/newtonsoft-json/newtonsoft-json.SlackBuild10
-rw-r--r--development/newtonsoft-json/newtonsoft-json.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/development/newtonsoft-json/newtonsoft-json.SlackBuild b/development/newtonsoft-json/newtonsoft-json.SlackBuild
index 0ca809a82c88..4545fed4d9c2 100644
--- a/development/newtonsoft-json/newtonsoft-json.SlackBuild
+++ b/development/newtonsoft-json/newtonsoft-json.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=newtonsoft-json
-VERSION=${VERSION:-6.0.3}
+VERSION=${VERSION:-6.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -94,8 +94,10 @@ cd Src/Newtonsoft.Json/bin/Release/Net45
rm *.{xml,snk,il}
# Install Json into mono directory
-mkdir -p "$PKG/usr/lib${LIBDIRSUFFIX}/mono/newtonsoft-json/"
-find . -type f -exec install -Dm644 {} "$PKG/usr/lib${LIBDIRSUFFIX}/mono/newtonsoft-json/"{} \;
+# Libraries in the Global Assembly Cache are always in /usr/lib, regardless of the architecture
+# /usr/lib64/mono doesn't even get created when running mono.SlackBuild
+mkdir -p "$PKG/usr/lib/mono/newtonsoft-json/"
+find . -type f -exec install -Dm644 {} "$PKG/usr/lib/mono/newtonsoft-json/"{} \;
# Install pkg-config file
install -Dm644 "$CWD/newtonsoft.json.pc.in" "$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/newtonsoft.json.pc"
@@ -108,7 +110,7 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat <<EOF > $PKG/install/doinst.sh
-gacutil -i /usr/lib${LIBDIRSUFFIX}/mono/newtonsoft-json/Newtonsoft.Json.dll -root "/usr/lib${LIBDIRSUFFIX}/"
+gacutil -i /usr/lib/mono/newtonsoft-json/Newtonsoft.Json.dll -root "/usr/lib/"
EOF
cd $PKG
diff --git a/development/newtonsoft-json/newtonsoft-json.info b/development/newtonsoft-json/newtonsoft-json.info
index 8db61e89447b..f4d6ce353c5e 100644
--- a/development/newtonsoft-json/newtonsoft-json.info
+++ b/development/newtonsoft-json/newtonsoft-json.info
@@ -1,8 +1,8 @@
PRGNAM="newtonsoft-json"
-VERSION="6.0.3"
+VERSION="6.0.4"
HOMEPAGE="http://james.newtonking.com/json"
-DOWNLOAD="https://github.com/JamesNK/Newtonsoft.Json/archive/6.0.3.tar.gz"
-MD5SUM="85bbee5cf5ab22c686927ecef8c179b5"
+DOWNLOAD="https://github.com/JamesNK/Newtonsoft.Json/archive/6.0.4.tar.gz"
+MD5SUM="7d0c0985f3930e57d802023f5958ed3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono"