[Demudi-commits] r1625 - csound/trunk/debian

fsateler-guest at alioth.debian.org fsateler-guest at alioth.debian.org
Tue Oct 2 05:01:11 UTC 2007


Author: fsateler-guest
Date: 2007-10-02 05:01:11 +0000 (Tue, 02 Oct 2007)
New Revision: 1625

Added:
   csound/trunk/debian/tclcsound.install
Modified:
   csound/trunk/debian/control
   csound/trunk/debian/rules
Log:
Install tclcsound to the right place, and create the symlink libcsound.so


Modified: csound/trunk/debian/control
===================================================================
--- csound/trunk/debian/control	2007-10-02 04:59:24 UTC (rev 1624)
+++ csound/trunk/debian/control	2007-10-02 05:01:11 UTC (rev 1625)
@@ -75,3 +75,14 @@
  .
  For more information on csound, see the csound package.
 
+Package: tclcsound
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: tcl bindings and interpreters for csound
+ This package contains the tcl interfaces to csound. It includes:
+  - tclcsound: the csound tcl interface.
+  - cswish: csound wish interpreter
+  - cstclsh: csound tcl interpreter
+ .
+ For more information on csound or tcl, see the respective packages.
+

Modified: csound/trunk/debian/rules
===================================================================
--- csound/trunk/debian/rules	2007-10-02 04:59:24 UTC (rev 1624)
+++ csound/trunk/debian/rules	2007-10-02 05:01:11 UTC (rev 1625)
@@ -61,6 +61,7 @@
 	rm -f libcsound64.so
 	rm -f frontends/winsound/winsound.h
 	rm -f libcsound64.so.5
+	rm -f frontends/cseditor/cseditor.o
 endif
 	dh_clean 
 
@@ -90,7 +91,7 @@
 	mv $(CURDIR)/debian/tmp/usr/lib/lib_jcsound.so \
 		$(CURDIR)/debian/tmp/usr/lib/jni
 # Scons sucks
-	cp libcsound64.so $(CURDIR)/debian/tmp/usr/lib/
+	ln -sf libcsound64.so.* $(CURDIR)/debian/tmp/usr/lib/libcsound64.so
 # The python module
 	mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(PYVERSION)/site-packages
 	cp csnd.py _csnd.so \
@@ -99,7 +100,11 @@
 	mkdir -p $(CURDIR)/debian/tmp/usr/lib/lua/5.1/
 	ln -s ../../libcsnd.so \
 		$(CURDIR)/debian/tmp/usr/lib/lua/5.1/csnd.so
-
+# Move the tcl interface to a private dir
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/tcl8.4
+	mv $(CURDIR)/debian/tmp/usr/lib/tclcsound.so \
+		$(CURDIR)/debian/tmp/usr/lib/tcl8.4
+# Copy to each package directory
 	dh_install -s --sourcedir=$(CURDIR)/debian/tmp/
 
 # Must not depend on anything. This is to be called by

Added: csound/trunk/debian/tclcsound.install
===================================================================
--- csound/trunk/debian/tclcsound.install	                        (rev 0)
+++ csound/trunk/debian/tclcsound.install	2007-10-02 05:01:11 UTC (rev 1625)
@@ -0,0 +1,4 @@
+usr/bin/cswish
+usr/bin/cstclsh
+usr/lib/tcl*/tclcsound.so
+




More information about the Demudi-commits mailing list