|
|
|
@ -152,6 +152,7 @@ build() {
|
|
|
|
|
|
|
|
|
|
# build rest
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
@ -186,8 +187,8 @@ package() {
|
|
|
|
|
install -d -m755 ${pkgdir}/etc/profile.d/
|
|
|
|
|
echo "export QT3DIR=${_prefix}" > ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
echo "export QT_XFT=true" >> ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
echo "export PATH=$PATH:${_prefix}/bin" >> ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
echo "export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${_prefix}/pkgconfig" >> ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
echo "export PATH+=:${_prefix}/bin" >> ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >> ${pkgdir}/etc/profile.d/qt3.sh
|
|
|
|
|
|
|
|
|
|
# ln -sf /opt/qt/bin/qtconfig "${pkgdir}"/opt/qt/bin/qt3config
|
|
|
|
|
|
|
|
|
|