summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/libraries/pytdeextensions/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-18 18:47:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-18 18:50:29 +0100
commit6fc0f157ab987c78d0cc331b96e31e0d0c1db8ac (patch)
tree306b491e71427364b8977dc08a4006663e63298a /ubuntu/precise/libraries/pytdeextensions/debian/rules
parentbfddfbd0b53a3f24927511d276779b175204a684 (diff)
downloadtde-packaging-6fc0f157ab987c78d0cc331b96e31e0d0c1db8ac.tar.gz
tde-packaging-6fc0f157ab987c78d0cc331b96e31e0d0c1db8ac.zip
Update python-sip-tqt dependencies in pytdeextensions on Debian and Ubuntu
Refresh patch to renamed kdedistutils => tdedistutils
Diffstat (limited to 'ubuntu/precise/libraries/pytdeextensions/debian/rules')
-rwxr-xr-xubuntu/precise/libraries/pytdeextensions/debian/rules16
1 files changed, 6 insertions, 10 deletions
diff --git a/ubuntu/precise/libraries/pytdeextensions/debian/rules b/ubuntu/precise/libraries/pytdeextensions/debian/rules
index 3147af02a..308059b26 100755
--- a/ubuntu/precise/libraries/pytdeextensions/debian/rules
+++ b/ubuntu/precise/libraries/pytdeextensions/debian/rules
@@ -8,15 +8,19 @@ include debian/python-distutils-jaunty.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+DEB_PYTHON_INSTALL_ARGS_ALL += \
+ --install-clib=/opt/trinity/lib \
+ --install-cheaders=/opt/trinity/include
+
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
@@ -40,16 +44,8 @@ install/pytdeextensions-trinity::
find . -type f -name '*.py[co]' | xargs rm -f
install/libpythonize0-trinity::
- # Move the files where they belong
- mkdir -p debian/tmp/opt/trinity/lib
- mv debian/tmp/usr/lib/libpythonize* debian/tmp/opt/trinity/lib/ || echo "moving files 1/2"
- mv debian/tmp/usr/include debian/tmp/opt/trinity/ || echo "moving files 2/2"
-
# fix binary-or-shlib-defines-rpath
chrpath -d debian/tmp/opt/trinity/lib/libpythonize.so.*
- # fix include directory location
- mkdir -p debian/tmp/opt/trinity/include/tde
- mv debian/tmp/opt/trinity/include/*.h debian/tmp/opt/trinity/include/tde
clean::
rm -rf build