aboutsummaryrefslogtreecommitdiff
path: root/development/mono-addins/mono-addins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono-addins/mono-addins.SlackBuild')
-rw-r--r--development/mono-addins/mono-addins.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/development/mono-addins/mono-addins.SlackBuild b/development/mono-addins/mono-addins.SlackBuild
index 6bc2dd12b398b..c138faa83a6a7 100644
--- a/development/mono-addins/mono-addins.SlackBuild
+++ b/development/mono-addins/mono-addins.SlackBuild
@@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mono-addins
VERSION=${VERSION:-1.3.5}
COMMIT="c636f258d0a724e7c0de447ea717d18cb90bfb17"
+COMMIT2="d25dd923839404bd64cc63f420e75acf96fc75c4"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,6 +73,7 @@ cd $TMP
rm -rf $PRGNAM-$COMMIT
tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
cd $PRGNAM-$COMMIT
+unzip $CWD/mono_msbuild_${COMMIT2}.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,6 +81,8 @@ 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 {} \;
+msbuild=$(pwd)/msbuild/MSBuild.exe
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,15 +96,12 @@ MCS=/usr/bin/mcs \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-nuget restore Mono.Addins.sln
-make
-( cd bin
- ls Mono.*.dll |
- while read file;
- do
- sn -R $file ../mono-addins.snk;
- done
-)
+mono "${msbuild}" Mono.Addins/Mono.Addins.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Gui/Mono.Addins.Gui.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.MSBuild/Mono.Addins.MSBuild.csproj /p:WarningLevel=0;Configuration=Release
+mono "${msbuild}" Mono.Addins.Setup/Mono.Addins.Setup.csproj /p:WarningLevel=0;Configuration=Release
+
make install DESTDIR=$PKG
# Fix pkg-config prefix