summaryrefslogtreecommitdiff
path: root/development/fsharp
diff options
context:
space:
mode:
authorSteven Vch <unstatik@staremax.com>2016-01-06 23:50:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-09 07:12:22 +0700
commitb531cddbab63b6b343ebc7ed560d8158b5710e30 (patch)
treef68966442ca69991576a49fb80c71daa28497465 /development/fsharp
parentd66d1b325ee06313ae7a30ca42461b6daeab90f8 (diff)
downloadslackbuilds-b531cddbab63b6b343ebc7ed560d8158b5710e30.tar.gz
development/fsharp: Updated for version 4.0.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/fsharp')
-rw-r--r--development/fsharp/fsharp.SlackBuild10
-rw-r--r--development/fsharp/fsharp.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/development/fsharp/fsharp.SlackBuild b/development/fsharp/fsharp.SlackBuild
index 89399e3b87..120373d0d0 100644
--- a/development/fsharp/fsharp.SlackBuild
+++ b/development/fsharp/fsharp.SlackBuild
@@ -4,9 +4,10 @@
# Written by Steven Vch. <unstatik@staremax.com>
PRGNAM=fsharp
-VERSION=${VERSION:-3.1.1.32}
+VERSION=${VERSION:-4.0.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+MONO_BIN=/usr/bin/mono
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvfz $CWD/$VERSION.tar.gz
+tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -50,6 +51,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mozroots --import --machine --sync
+$MONO_BIN ./.nuget/NuGet.exe install FsCheck
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
@@ -68,7 +72,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.txt LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG-* LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/fsharp/fsharp.info b/development/fsharp/fsharp.info
index 9b84a73ff8..aa0931133d 100644
--- a/development/fsharp/fsharp.info
+++ b/development/fsharp/fsharp.info
@@ -1,8 +1,8 @@
PRGNAM="fsharp"
-VERSION="3.1.1.32"
+VERSION="4.0.1.1"
HOMEPAGE="https://github.com/fsharp/fsharp"
-DOWNLOAD="https://github.com/fsharp/fsharp/archive/3.1.1.32.tar.gz"
-MD5SUM="6fa9a52ffe8b6d0a26330a8d6ac8f17e"
+DOWNLOAD="https://github.com/fsharp/fsharp/archive/4.0.1.1.tar.gz"
+MD5SUM="2dd3cc2cf130615bc79ceb1b93141e2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono"