diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-03-16 13:05:30 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-03-16 13:05:30 (GMT) |
commit | cee87f4d8ae72f470183ea77622f52a46e552dca (patch) | |
tree | d56da33b5d71e1e9771dbd1d886dcca482071eb9 /config.profiles/harmattan/libqt4-dev.postinst | |
parent | e318b0276c3d4a0db8660b4fa6d68f1784aee522 (diff) | |
parent | eac5573dff483dfefb2deb028850c3ab6f01c555 (diff) | |
download | Qt-cee87f4d8ae72f470183ea77622f52a46e552dca.zip Qt-cee87f4d8ae72f470183ea77622f52a46e552dca.tar.gz Qt-cee87f4d8ae72f470183ea77622f52a46e552dca.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-releng-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-releng-staging:
Temporarily removed Harmattan specific patches
Harmattan: fixed license headers.
Added Harmattan specific debian files to master branch.
Diffstat (limited to 'config.profiles/harmattan/libqt4-dev.postinst')
-rw-r--r-- | config.profiles/harmattan/libqt4-dev.postinst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config.profiles/harmattan/libqt4-dev.postinst b/config.profiles/harmattan/libqt4-dev.postinst new file mode 100644 index 0000000..2ab29ff --- /dev/null +++ b/config.profiles/harmattan/libqt4-dev.postinst @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +SPECDIR=/usr/share/qt4/mkspecs + +rm -f ${SPECDIR}/default +ln -s ${SPECDIR}/#PLATFORM_ARG# ${SPECDIR}/default + +PREFIX=native +if [ -f /targets/links/scratchbox.config ]; then + PREFIX=host +fi + +BINARIES="qmake moc rcc uic" + +for bin in $BINARIES; do + ln -sf "/usr/bin/${PREFIX}-${bin}" "/usr/bin/${bin}" +done + +#DEBHELPER# |