|
|
@ -24,7 +24,7 @@ if [ $prefix_auto = 1 ] ; then |
|
|
|
prefix="opt/$xpkg" |
|
|
|
set_confopt |
|
|
|
fi |
|
|
|
if [ $xpkg == 'qt40' ] ; then |
|
|
|
if [ $xpkg == 'qt42' ] ; then |
|
|
|
splitdesc_debug() { desc_I="Qt debug libraries"; } |
|
|
|
splitreg 10 debug $prefix/lib/.+_debug |
|
|
|
splitreg 41 dev $prefix/examples/ |
|
|
@ -57,7 +57,7 @@ qt_pass() { |
|
|
|
pkginstalled zlib && var_append confopt " " "-system-zlib" |
|
|
|
pkginstalled libpng && var_append confopt " " "-system-libpng" |
|
|
|
pkginstalled libjpeg && var_append confopt " " "-system-libjpeg" |
|
|
|
elif [ $xpkg == qt40 ]; then |
|
|
|
elif [ $xpkg == qt42 ]; then |
|
|
|
pkginstalled postgresql && var_append confopt " " "-plugin-sql-psql \ |
|
|
|
-I$pkg_postgresql_prefix/include -L$pkg_postgresql_prefix/lib" |
|
|
|
fi |
|
|
@ -80,7 +80,7 @@ qt_pass() { |
|
|
|
echo "Copy some documentation ..." |
|
|
|
if [ $xpkg == qt33 ] ; then |
|
|
|
cp -a ch* tutorial $docdir/ |
|
|
|
elif [ $xpkg == qt40 ] ; then |
|
|
|
elif [ $xpkg == qt42 ] ; then |
|
|
|
cp -a changes-$ver $docdir/ |
|
|
|
fi |
|
|
|
|
|
|
@ -94,10 +94,10 @@ QT33DIR=$root/opt/qt33 |
|
|
|
QTDIR=\$QT33DIR |
|
|
|
export QT33DIR QTDIR |
|
|
|
EOT |
|
|
|
elif [ $xpkg == qt40 ]; then |
|
|
|
cat > $root/etc/profile.d/qt40 <<-EOT |
|
|
|
QT40DIR=$root/opt/qt40 |
|
|
|
export QT40DIR |
|
|
|
elif [ $xpkg == qt42 ]; then |
|
|
|
cat > $root/etc/profile.d/qt42 <<-EOT |
|
|
|
QT42DIR=$root/opt/qt42 |
|
|
|
export QT42DIR |
|
|
|
EOT |
|
|
|
fi |
|
|
|
} |
|
|
|