development/newtonsoft-json: Updated for version 6.0.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ronny Schmatzler 2014-08-18 23:13:35 +07:00 committed by Willy Sudiarto Raharjo
parent b93ca2b4f3
commit ef399d0567
2 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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"