[Pkg-cli-libs-commits] [SCM] ampsharp branch, master, updated. upstream/2.0.4-8-gcb3864c
Eric Mangold
teratorn at gmail.com
Tue Aug 23 19:52:22 UTC 2011
The following commit has been merged in the master branch:
commit cb3864c3f68da5d0bed7249294355b111527d9e0
Author: Eric Mangold <teratorn at gmail.com>
Date: Tue Aug 23 14:49:22 2011 -0500
use xbuild as that is the upstream build system
diff --git a/debian/libampsharp2.0-cil.install b/debian/libampsharp2.0-cil.install
index 9076e2e..e5aefc0 100644
--- a/debian/libampsharp2.0-cil.install
+++ b/debian/libampsharp2.0-cil.install
@@ -1 +1 @@
-bin/AMPSharp.dll /usr/lib/cli/ampsharp-2.0/
+AMPSharp/bin/Release/AMPSharp.dll /usr/lib/cli/ampsharp-2.0/
diff --git a/debian/rules b/debian/rules
index 78f66cc..7bab04d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,17 @@ export DH_VERBOSE=1
dh $@ --with cli
override_dh_auto_build:
- mkdir -p bin
- /usr/bin/mono-csc /t:library /out:bin/AMPSharp.dll \
- -keyfile:AMPSharp/ampsharp.snk \
- /r:System.Windows.Forms \
- /pkg:log4net \
- $(shell find AMPSharp -name "*.cs")
+ xbuild AMPSharp/AMPSharp.csproj /property:Configuration="Release"
override_dh_auto_clean:
- rm -rf bin
+ rm -rf AMPSharp/bin AMPSharp/obj
+
+override_dh_auto_test:
+ # TODO: commented for now since there is a permission problem running nunit-console
+ # under fakeroot: http://bugzilla.xamarin.com/show_bug.cgi?id=357
+ # Mono tries to write some files under root's home which under fakeroot
+ # is usually /root/.mono and unwritable by normal users. It does not respect
+ # $HOME.
+ #
+ #xbuild Tests/Tests.csproj /property:Configuration="Debug"
+ #nunit-console Tests/bin/Debug/Tests.dll
--
ampsharp
More information about the Pkg-cli-libs-commits
mailing list