diff options
Diffstat (limited to 'development/mysqlcc')
-rw-r--r-- | development/mysqlcc/README | 2 | ||||
-rw-r--r-- | development/mysqlcc/mysqlcc.SlackBuild | 35 | ||||
-rw-r--r-- | development/mysqlcc/mysqlcc.info | 2 | ||||
-rw-r--r-- | development/mysqlcc/slack-desc | 18 |
4 files changed, 32 insertions, 25 deletions
diff --git a/development/mysqlcc/README b/development/mysqlcc/README index d0018b47b7..4d0be43f68 100644 --- a/development/mysqlcc/README +++ b/development/mysqlcc/README @@ -1 +1,3 @@ MySQLcc is a control center for MySQL. + +This requires qt3 and kdelibs3 from /extra/kde3-compat/. diff --git a/development/mysqlcc/mysqlcc.SlackBuild b/development/mysqlcc/mysqlcc.SlackBuild index 585e9aab55..44bf15bba7 100644 --- a/development/mysqlcc/mysqlcc.SlackBuild +++ b/development/mysqlcc/mysqlcc.SlackBuild @@ -11,14 +11,19 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/dev/shm} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} 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" fi set -e # Exit on most errors @@ -37,30 +42,28 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var + --mandir=/usr/man \ + --localstatedir=/var \ + --with-qt=/opt/kde3/lib/qt3/ \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +mkdir -p $PKG/usr/bin +cp -a mysqlcc $PKG/usr/bin +strip --strip-unneeded $PKG/usr/bin/mysqlcc + +mkdir -p $PKG/usr/share/$PRGNAM +cp -a *.wav syntax.txt $PKG/usr/share/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION - -# For some reason the install is not.. installing (see the makefile) -# So... manual copy of executable, wavs, and the syntax.txt -mkdir -p $PKG/usr/bin/ $PKG/usr/share/$PRGNAM -cp -p mysqlcc $PKG/usr/bin/mysqlcc -cp -p *.wav $PKG/usr/share/$PRGNAM/ - -mv $PKG/usr/doc/$PRGNAM-$VERSION/syntax.txt $PKG/usr/share/$PRGNAM/ +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/syntax.txt cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/mysqlcc/mysqlcc.info b/development/mysqlcc/mysqlcc.info index 414ec76b67..f59d19bcf6 100644 --- a/development/mysqlcc/mysqlcc.info +++ b/development/mysqlcc/mysqlcc.info @@ -3,6 +3,8 @@ VERSION="0.9.8" HOMEPAGE="http://sourceforge.net/projects/mysqlcc" DOWNLOAD="http://downloads.sourceforge.net/mysqlcc/mysqlcc-0.9.8-src.tar.gz" MD5SUM="c9913784e9a700c6e9a146ffea1992d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Michales Michaloudes" EMAIL="korgie@gmail.com" APPROVED="rworkman" diff --git a/development/mysqlcc/slack-desc b/development/mysqlcc/slack-desc index 0130d352be..a58055b815 100644 --- a/development/mysqlcc/slack-desc +++ b/development/mysqlcc/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| mysqlcc: mysqlcc (MySQL Control Center) -mysqlcc: +mysqlcc: mysqlcc: MySQLcc is a control center for MySQL. -mysqlcc: -mysqlcc: -mysqlcc: -mysqlcc: -mysqlcc: -mysqlcc: -mysqlcc: -mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: +mysqlcc: |