[SCM] eq10q/master: Prepend DESTDIR to INSTALL_DIR and set it to /usr/lib/lv2.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Jan 14 12:33:25 UTC 2011


The following commit has been merged in the master branch:
commit b6a095fc74dcd843a83800d56e4d3ebb3e822083
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Jan 14 13:33:15 2011 +0100

    Prepend DESTDIR to INSTALL_DIR and set it to /usr/lib/lv2.

diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
index c9d48de..47fbd2f 100644
--- a/debian/patches/01-makefile.patch
+++ b/debian/patches/01-makefile.patch
@@ -1,14 +1,22 @@
 Description: Debian's lv2-c++-tools has just paq.pc which provides everything
  needed to compile and link this LV2 plugins.
+ Prepend DESTDIR to INSTALL_DIR and set it to /usr/lib/lv2.
 Author: Alessio Treglia <alessio at debian.org>
 Forwarded: no
 ---
- Makefile |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ Makefile |   12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
 
 --- eq10q.orig/Makefile
 +++ eq10q/Makefile
-@@ -9,10 +9,10 @@ $(BUNDLE): manifest.ttl parameq.ttl para
+@@ -1,5 +1,5 @@
+ BUNDLE = paramEQ-Rafols.lv2
+-INSTALL_DIR = /usr/local/lib/lv2
++INSTALL_DIR = /usr/lib/lv2
+ 
+ 
+ $(BUNDLE): manifest.ttl parameq.ttl paramEQ.so parameq_gui.so  logo_top_top.png logo_top.png logo_center.png logo_bottom.png logo_bottom_bottom.png EQ-10Q_bakc.png combopix
+@@ -9,16 +9,16 @@ $(BUNDLE): manifest.ttl parameq.ttl para
  	cp -R combopix $(BUNDLE)
  
  paramEQ.so: plugin.cpp
@@ -21,3 +29,12 @@ Forwarded: no
  
  
  install: $(BUNDLE)
+-	mkdir -p $(INSTALL_DIR)
+-	rm -rf $(INSTALL_DIR)/$(BUNDLE)
+-	cp -R $(BUNDLE) $(INSTALL_DIR)
++	mkdir -p $(DESTDIR)$(INSTALL_DIR)
++	rm -rf $(DESTDIR)$(INSTALL_DIR)/$(BUNDLE)
++	cp -R $(BUNDLE) $(DESTDIR)$(INSTALL_DIR)
+ 
+ clean:
+ 	rm -rf $(BUNDLE) paramEQ.so parameq_gui.so

-- 
eq10q packaging



More information about the pkg-multimedia-commits mailing list