[Pkg-mono-svn-commits] rev 895 - mcs/trunk/debian
Mirco Bauer
meebey-guest@haydn.debian.org
Sun, 06 Jun 2004 11:13:26 -0600
Author: meebey-guest
Date: 2004-06-06 11:13:16 -0600 (Sun, 06 Jun 2004)
New Revision: 895
Modified:
mcs/trunk/debian/rules
Log:
- more hacks
Modified: mcs/trunk/debian/rules
===================================================================
--- mcs/trunk/debian/rules 2004-06-06 17:06:47 UTC (rev 894)
+++ mcs/trunk/debian/rules 2004-06-06 17:13:16 UTC (rev 895)
@@ -9,6 +9,9 @@
dh_testdir
mkdir -p $(CURDIR)/.wabi
perl -pe 's/RUNTIME.=.mono/RUNTIME = cli/;' -i $(CURDIR)/build/config-default.make
+ # gacutil bug, he ignores the /root parameter
+ perl -pe 's,/root \$$(DESTDIR)$$(prefix)/lib /package \$$(PACKAGE),/package \$$(PACKAGE) /root \$$(DESTDIR)$$(prefix)/lib,'
+ -i $(CURDIR)/build/library.make
./configure --prefix=/usr
$(MAKE)
# cd add-ons/* ; ./configure --prefix=/usr && make
@@ -22,6 +25,7 @@
rm -rf $(CURDIR)/.wabi
dh_clean
+MONO_LIB_PATH = usr/share/dotnet/mono/1.0
install: build
dh_testdir
dh_testroot
@@ -48,15 +52,13 @@
# gacutil always copies the dll into /root and sets the symlinks
# to /usr/local/... (because the boostrap system has it here),
# hopefully the patch comes soon for this
-# do cli $(CURDIR)/tools/gacutil/gacutil.exe /i $$x /f /package 1.0 \\
-# /root $(CURDIR)/debian/tmp/usr/lib; \\
+# cd $(CURDIR)/debian/mono-assemblies-base/usr/share/dotnet/mono/gac; \
+# for x in ./*/*/*.dll; \
+# do \
+# cd $(CURDIR)/debian/mono-mcs/usr/share/dotnet/mono/1.0; \
+# ln -sf ../gac/$${x#??}; \
# done
- cd $(CURDIR)/debian/mono-assemblies-base/usr/share/dotnet/mono/gac; \
- for x in ./*/*/*.dll; \
- do \
- cd $(CURDIR)/debian/mono-mcs/usr/share/dotnet/mono/1.0; \
- ln -sf ../gac/$${x#??}; \
- done
+ cd $(CURDIR)/debian/mono-assemblies-base/$(MONO_LIB_PATH); ln -sf `find ../gac -name "*.dll"` $(CURDIR)/debian/mono-mcs/$(MONO_LIB_PATH);
find $(CURDIR)/debian/mono-assemblies-base/usr/share/dotnet/mono -type f -name "*.dll" -exec chmod -x {} \;
# Build architecture-independent files here.