Permalink
Browse files

Add installation instructions to cabal description

  • Loading branch information...
1 parent b4bb833 commit 9d4de6e5e6d9bfb87af7a690b17fa5fa7cf2a970 Stefan Kersten committed Apr 9, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 bindings-sc3.cabal
View
@@ -1,7 +1,21 @@
Name: bindings-sc3
Version: 0.3.0
Synopsis: Bindings to the SuperCollider synthesis engine library.
-Description: This library provides low level bindings to the SuperCollider synthesis engine library (@libscsynth@). If you are looking for a higher level Haskell interface, please use the hsc3-process package (<http://hackage.haskell.org/package/hsc3-process>).
+Description: This library provides low level bindings to the
+SuperCollider synthesis engine library (@libscsynth@). If you are looking for
+a higher level Haskell interface, please use the hsc3-process package
+(<http://hackage.haskell.org/package/hsc3-process>).
+
+In order to build this package, you need to first build the dynamic library
+version of SuperCollider <supercollider.sourceforge.net> by passing
+@-DLIBSCSYNTH=ON@ to @cmake@. Then build this library by passing the location
+of the SuperCollider header files and dynamic library directory to cabal:
+
+@
+ cabal install bindings-sc3 --extra-include-dirs=<SC_SOURCES>/include/{common,plugin_interface,server} --extra-library-dirs=$SC_SOURCES/server/scsynth
+@
+
+If you copy @libscsynth@ to a system library location, you may omit @--extra-library-dirs@.
License: GPL
License-File: LICENSE
Category: FFI, Sound

0 comments on commit 9d4de6e

Please sign in to comment.