diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-05-26 15:50:18 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-06-22 14:55:36 +0200 |
commit | cd3d60e1576ec4b01150f66544c6f180f2bac429 (patch) | |
tree | efc43bece98532fa8a1ed549768fb678c633985e /patches/libdmtx-0.7.2 | |
parent | 0e7401612a33920b454d88546cb8ea821afb228a (diff) | |
download | ptxdist-cd3d60e1576ec4b01150f66544c6f180f2bac429.tar.gz ptxdist-cd3d60e1576ec4b01150f66544c6f180f2bac429.tar.xz |
libdmtx: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/libdmtx-0.7.2')
-rw-r--r-- | patches/libdmtx-0.7.2/0001-fix-search-paths-when-building-python-bindings.patch | 41 | ||||
-rw-r--r-- | patches/libdmtx-0.7.2/series | 3 |
2 files changed, 44 insertions, 0 deletions
diff --git a/patches/libdmtx-0.7.2/0001-fix-search-paths-when-building-python-bindings.patch b/patches/libdmtx-0.7.2/0001-fix-search-paths-when-building-python-bindings.patch new file mode 100644 index 000000000..d95eef823 --- /dev/null +++ b/patches/libdmtx-0.7.2/0001-fix-search-paths-when-building-python-bindings.patch @@ -0,0 +1,41 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Thu, 26 May 2011 10:34:48 +0200 +Subject: [PATCH] fix search paths when building python bindings + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + wrapper/python/Makefile | 2 +- + wrapper/python/setup.py | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/wrapper/python/Makefile b/wrapper/python/Makefile +index 22435a4..4f4d9d2 100755 +--- a/wrapper/python/Makefile ++++ b/wrapper/python/Makefile +@@ -2,7 +2,7 @@ all: + python setup.py build + + install: +- python setup.py install ++ python setup.py install --prefix=$$DESTDIR/usr + + clean: + rm -Rf build +diff --git a/wrapper/python/setup.py b/wrapper/python/setup.py +index 2cb10d4..7d9404b 100755 +--- a/wrapper/python/setup.py ++++ b/wrapper/python/setup.py +@@ -22,8 +22,8 @@ + from distutils.core import setup, Extension + + mod = Extension( '_pydmtx', +- include_dirs = ['/usr/local/include'], +- library_dirs = ['/usr/local/lib'], ++ include_dirs = ['../../'], ++ library_dirs = ['../../.libs'], + libraries = ['dmtx'], + sources = ['pydmtxmodule.c'] ) + +-- +1.7.5.1 + diff --git a/patches/libdmtx-0.7.2/series b/patches/libdmtx-0.7.2/series new file mode 100644 index 000000000..1fa5d4132 --- /dev/null +++ b/patches/libdmtx-0.7.2/series @@ -0,0 +1,3 @@ +# generated by git-ptx-patches +0001-fix-search-paths-when-building-python-bindings.patch +# 42544cab371a9d84158e91aec4838242 - git-ptx-patches magic |