diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-06-28 12:12:20 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-06-28 12:12:20 -0400 |
commit | fa5d9a0127895a6cc917a8bc20ea6bed29cd5e28 (patch) | |
tree | 03ec7c6b05ea1ac9a1d82b29a970cef6ece7d7be /development/qt-doc/qt-doc.SlackBuild | |
parent | 7128575088fe954b04ad1619d37f1bdb9c5d59ef (diff) | |
download | slackbuilds-fa5d9a0127895a6cc917a8bc20ea6bed29cd5e28.tar.gz |
development/qt-doc: Updated for version 4.6.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/qt-doc/qt-doc.SlackBuild')
-rw-r--r-- | development/qt-doc/qt-doc.SlackBuild | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/development/qt-doc/qt-doc.SlackBuild b/development/qt-doc/qt-doc.SlackBuild index 5c7db2c585..b08ed4fb44 100644 --- a/development/qt-doc/qt-doc.SlackBuild +++ b/development/qt-doc/qt-doc.SlackBuild @@ -5,7 +5,7 @@ # Written by Grissiom <chaos.proton@gmail.com> PKGNAM=qt-doc -VERSION=4.5.1 +VERSION=4.6.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -24,33 +24,40 @@ TMP=${TMP:-/tmp/SBo} OUTPUT=${OUTPUT:-/tmp} PKG=$TMP/package-${PKGNAM} -TARBALLNAME=qt-x11-opensource-src-${VERSION} +TARBALLNAME=qt-everywhere-opensource-src-${VERSION} -if [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ]; then +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf ${TARBALLNAME} -tar xvf $CWD/${TARBALLNAME}.tar.bz2 +tar xvf $CWD/${TARBALLNAME}.tar.gz cd ${TARBALLNAME} QTDIR=/usr/lib${LIBDIRSUFFIX}/qt mkdir -p ${PKG}/${QTDIR}/doc/ -cp -r doc/html ${PKG}/${QTDIR}/doc/ -cp -r doc/qch ${PKG}/${QTDIR}/doc/ +mv doc/html ${PKG}/${QTDIR}/doc/ +mv doc/qch ${PKG}/${QTDIR}/doc/ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION -(cd $CWD && cp -a $PKGNAM.SlackBuild README $PKG/usr/doc/$PKGNAM-$VERSION/) +cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/README > $PKG/usr/doc/$PKGNAM-$VERSION/README mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |