summaryrefslogtreecommitdiff
path: root/development/sqliteman
diff options
context:
space:
mode:
authorDhaby Xiloj <slack.dhabyx@gmail.com>2010-05-13 00:25:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:25:37 +0200
commit8710ab8858c0696e3141405f806b9dbb654d5ae0 (patch)
tree119091ddab9e20b0f9b23013c670d2dcbf37cc95 /development/sqliteman
parentf7fdac81525a319d4afadb831f164162f5c7566c (diff)
downloadslackbuilds-8710ab8858c0696e3141405f806b9dbb654d5ae0.tar.gz
development/sqliteman: Updated for version 1.0.1
Diffstat (limited to 'development/sqliteman')
-rw-r--r--development/sqliteman/README2
-rw-r--r--development/sqliteman/sqliteman.SlackBuild13
-rw-r--r--development/sqliteman/sqliteman.info4
3 files changed, 12 insertions, 7 deletions
diff --git a/development/sqliteman/README b/development/sqliteman/README
index 706641609e..5e8f0a222e 100644
--- a/development/sqliteman/README
+++ b/development/sqliteman/README
@@ -2,5 +2,3 @@ Sqliteman is a simple but powerful Sqlite3 GUI database manager.
sqliteman is useful for managing tables, views, or triggers
and administering the database space and index statistics.
-
-Requires QT4, which is also available at SlackBuilds.org.
diff --git a/development/sqliteman/sqliteman.SlackBuild b/development/sqliteman/sqliteman.SlackBuild
index 236993988d..d1dc545878 100644
--- a/development/sqliteman/sqliteman.SlackBuild
+++ b/development/sqliteman/sqliteman.SlackBuild
@@ -34,10 +34,13 @@ 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
@@ -58,10 +61,12 @@ find . \
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr .
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
+ .
-make
-make install DESTDIR=$PKG
+make
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -80,4 +85,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/sqliteman/sqliteman.info b/development/sqliteman/sqliteman.info
index cf5fe53b1b..6eaa814de9 100644
--- a/development/sqliteman/sqliteman.info
+++ b/development/sqliteman/sqliteman.info
@@ -2,7 +2,9 @@ PRGNAM="sqliteman"
VERSION="1.0.1"
HOMEPAGE="http://sqliteman.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/sqliteman/sqliteman-1.0.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="6d4c6cffe4f7d68c0a8a8e2ce0e853df"
+MD5SUM_x86_64=""
MAINTAINER="Dhaby Xiloj"
EMAIL="slack.dhabyx@gmail.com"
-APPROVED="rworkman"
+APPROVED="rworkman,pprkut"