added back in /etc/profile.d/qt3.sh

v3.5.13-sru
mutantturkey 13 years ago
parent 56e482c2f2
commit b5a610853d

@ -61,6 +61,7 @@ fi
#make -C qmake || return 1
./configure -prefix ${_prefix} \
-fast \
-sysconfdir /etc/qt \
-thread \
-shared \
-system-zlib \
@ -72,6 +73,14 @@ fi
package() {
cd "$srcdir/$_gitname"
# Build and install qt.profile
echo "export QTDIR=${_prefix}" > ${srcdir}/qt.profile
echo "export QT_XFT=true" >> ${srcdir}/qt.profile
echo 'export PATH=$PATH:$QTDIR/bin' >> ${srcdir}/qt.profile
echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile
install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh
make INSTALL_ROOT="$pkgdir/" install
}

Loading…
Cancel
Save