]> git.pld-linux.org Git - packages/ecasound.git/blame - ecasound-acam.patch
- fixed ruby subpackage building
[packages/ecasound.git] / ecasound-acam.patch
CommitLineData
7ddf45c8
JB
1--- ecasound-2.7.2/pyecasound/Makefile.am.orig 2009-04-19 19:10:40.000000000 +0200
2+++ ecasound-2.7.2/pyecasound/Makefile.am 2011-01-14 17:40:20.430361617 +0100
833f720b
JB
3@@ -27,10 +27,6 @@
4 $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyeca.py \
5 $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/ecacontrol.py
6 endif
7-if ECA_AM_PYECASOUND_CEXT
8-pyecasound_install_list2 = pyecasound.so
9-pyecasound_uninstall_list2 = $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)/pyecasound.so
10-endif
11
12 INCLUDES = -I$(srcdir) \
13 -I$(top_srcdir)/libecasoundc \
14@@ -52,41 +48,32 @@
15 # source files
16 # ----------------------------------------------------------------------
17
18+pythondir = $(ECA_S_PYTHON_DLMODULES)
19 if ECA_AM_PYECASOUND_CEXT
20-noinst_LTLIBRARIES = libpyecasound.la
21+python_LTLIBRARIES = pyecasound.la
22 endif
23
24-libpyecasound_la_SOURCES = pyecasound.c
7ddf45c8 25+pyecasound_la_SOURCES = pyecasound.c
833f720b
JB
26
27 # libtool options to build for dlopen
28-libpyecasound_la_LDFLAGS = -avoid-version -export-dynamic
29-
30-if ECA_AM_PYECASOUND_CEXT
31-all: pyecasound.so
32-
33-pyecasound.so: pyecasound.lo
005a7e68 34- $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) ${libpyecasound_la_LDFLAGS} -shared -nostartfiles -o pyecasound.so pyecasound.lo $(ecasoundc_libs)
833f720b 35-endif
7ddf45c8 36+pyecasound_la_LDFLAGS = -module -avoid-version -export-dynamic
833f720b
JB
37+pyecasound_la_LIBADD = $(top_builddir)/libecasoundc/libecasoundc.la
38
39 # ----------------------------------------------------------------------
40 # hooks
41 # ----------------------------------------------------------------------
42
43-if ECA_AM_PYECASOUND_CEXT
44-CLEANFILES=pyecasound.so
45-endif
46-
47 if ECA_AM_PYECASOUND_INSTALL
48-install-exec-hook: $(pyecasound_install_list1) $(pyecasound_install_list2)
49+install-exec-hook: $(pyecasound_install_list1)
50 $(INSTALL) -d $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
51- $(INSTALL) $(pyecasound_install_list1) $(pyecasound_install_list2) $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
52+ $(INSTALL) $(pyecasound_install_list1) $(DESTDIR)$(ECA_S_PYTHON_DLMODULES)
53 else
54 install-exec-hook:
55 endif
56
57 if ECA_AM_PYECASOUND_INSTALL
58 uninstall-local:
59- rm -f $(pyecasound_uninstall_list1) $(pyecasound_uninstall_list2)
60+ rm -f $(pyecasound_uninstall_list1)
7ddf45c8 61 rmdir $(DESTDIR)$(ECA_S_PYTHON_DLMODULES) || echo "Skipping non-empty directory"
833f720b
JB
62 else
63 uninstall-local:
This page took 0.052384 seconds and 4 git commands to generate.