summaryrefslogtreecommitdiffstats
path: root/development/mysqlcc/mysqlcc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mysqlcc/mysqlcc.SlackBuild')
-rw-r--r--development/mysqlcc/mysqlcc.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/development/mysqlcc/mysqlcc.SlackBuild b/development/mysqlcc/mysqlcc.SlackBuild
index 9c7c983af2..d80300beb7 100644
--- a/development/mysqlcc/mysqlcc.SlackBuild
+++ b/development/mysqlcc/mysqlcc.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=mysqlcc
VERSION=0.9.8
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -61,6 +59,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--with-qt=/opt/kde3/lib${LIBDIRSUFFIX}/qt3/ \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-mysql-lib=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
make
@@ -72,6 +71,10 @@ 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/share/{applications,pixmaps}
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+cat $CWD/$PRGNAM.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/syntax.txt
@@ -79,6 +82,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}