updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / acweight / acweight.patch
blob6846d0a726af8356484f826480de91a08016e4bb
1 --- Makefile.orig 2010-03-07 16:31:11.832208042 +0100
2 +++ Makefile 2010-03-07 16:22:27.662260898 +0100
3 @@ -23,7 +23,7 @@
4 CPPFLAGS = $(OPTIM_FLAGS) -Wall
5 LDFLAGS +=
6 LDLIBS +=
8 +DESTDIR = ""
10 # Targets
12 @@ -39,6 +39,8 @@
13 acwjack.o: acwjack.cc
14 g++ -c $(CPPFLAGS) $(SHOBJ_FLAGS) acwjack.cc
16 +acweight.o: acweight.cc
17 + g++ -c $(CPPFLAGS) $(SHOBJ_FLAGS) acweight.cc
20 ACWPLUG_O = acwplug.o acwplug_if.o acweight.o
21 @@ -57,9 +59,8 @@
22 g++ -o acwtest acwtest.o acweight.o -lfftw3f -lm
24 install: acwjack.so acwplug.so
25 - /bin/cp acwjack.so /usr/lib/jack
26 - /bin/cp acwplug.so /usr/lib/ladspa
28 + /bin/install -Dm 755 acwjack.so $(DESTDIR)/usr/lib/jack/acwjack.so
29 + /bin/install -Dm 755 acwplug.so $(DESTDIR)/usr/lib/ladspa/acwplug.so
30 clean:
31 /bin/rm -f *.o *.u *.so *~