|
|
@ -61,6 +61,7 @@ fi
|
|
|
|
#make -C qmake || return 1
|
|
|
|
#make -C qmake || return 1
|
|
|
|
./configure -prefix ${_prefix} \
|
|
|
|
./configure -prefix ${_prefix} \
|
|
|
|
-fast \
|
|
|
|
-fast \
|
|
|
|
|
|
|
|
-sysconfdir /etc/qt \
|
|
|
|
-thread \
|
|
|
|
-thread \
|
|
|
|
-shared \
|
|
|
|
-shared \
|
|
|
|
-system-zlib \
|
|
|
|
-system-zlib \
|
|
|
@ -72,6 +73,14 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
make INSTALL_ROOT="$pkgdir/" install
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|