aboutsummaryrefslogtreecommitdiff
path: root/development/fsharp
diff options
context:
space:
mode:
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 89399e3b87651..120373d0d0ece 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 9b84a73ff8ca1..aa0931133d1dd 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"