aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/SocketMMI
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Plugins/Extensions/SocketMMI')
-rwxr-xr-x[-rw-r--r--]lib/python/Plugins/Extensions/SocketMMI/meta/plugin_socketmmi.xml11
-rw-r--r--lib/python/Plugins/Extensions/SocketMMI/src/Makefile.am24
2 files changed, 13 insertions, 22 deletions
diff --git a/lib/python/Plugins/Extensions/SocketMMI/meta/plugin_socketmmi.xml b/lib/python/Plugins/Extensions/SocketMMI/meta/plugin_socketmmi.xml
index acf8374d..3eaf8fc5 100644..100755
--- a/lib/python/Plugins/Extensions/SocketMMI/meta/plugin_socketmmi.xml
+++ b/lib/python/Plugins/Extensions/SocketMMI/meta/plugin_socketmmi.xml
@@ -2,20 +2,13 @@
<prerequisites>
<tag type="System" />
</prerequisites>
- <info language="en">
+ <info>
<author>Dream Multimedia</author>
<name>SocketMMI</name>
<packagename>enigma2-plugin-extensions-socketmmi</packagename>
- <shortdescription>Python frontend for /tmp/mmi.socket.</shortdescription>
+ <shortdescription>Frontend for /tmp/mmi.socket</shortdescription>
<description>Python frontend for /tmp/mmi.socket.</description>
</info>
- <info language="de">
- <author>Dream Multimedia</author>
- <name>SocketMMI</name>
- <packagename>enigma2-plugin-extensions-socketmmi</packagename>
- <shortdescription>Python frontend für /tmp/mmi.socket.</shortdescription>
- <description>Python frontend für /tmp/mmi.socket.</description>
- </info>
<files type="package"> <!-- without version, without .ipk -->
<file type="package" name="enigma2-plugin-extensions-socketmmi" />
</files>
diff --git a/lib/python/Plugins/Extensions/SocketMMI/src/Makefile.am b/lib/python/Plugins/Extensions/SocketMMI/src/Makefile.am
index 8e80e183..5ce7d031 100644
--- a/lib/python/Plugins/Extensions/SocketMMI/src/Makefile.am
+++ b/lib/python/Plugins/Extensions/SocketMMI/src/Makefile.am
@@ -1,17 +1,15 @@
-OBJS = socket_mmi.cpp
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/include \
+ -include Python.h \
+ -include $(top_builddir)/enigma2_config.h
--include $(OBJS:.cpp=.d)
+plugindir = $(pkglibdir)/python/Plugins/Extensions/SocketMMI
-installdir = $(pkglibdir)/python/Plugins/Extensions/SocketMMI
+plugin_LTLIBRARIES = socketmmi.la
-install_PYTHON = \
- socketmmi.so
+socketmmi_la_SOURCES = \
+ socket_mmi.cpp \
+ socket_mmi.h
-socketmmi.so: socket_mmi.cpp socket_mmi.h
- $(CXX) $(CPPFLAGS) -MD $(CXXFLAGS) $(DEFS) -I$(top_srcdir)/include \
- -Wall -W $(OBJS) -shared -fPIC -Wl,-soname,socketmmi.so -o socketmmi.so \
- $(LDFLAGS)
-
-all: socketmmi.so
-
-CLEANFILES = socketmmi.so socketmmi.d
+socketmmi_la_LDFLAGS = -avoid-version -module