summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/qtgzmanager/README1
-rw-r--r--system/qtgzmanager/qtgzmanager.SlackBuild80
-rw-r--r--system/qtgzmanager/qtgzmanager.info10
-rw-r--r--system/qtgzmanager/slack-desc19
4 files changed, 110 insertions, 0 deletions
diff --git a/system/qtgzmanager/README b/system/qtgzmanager/README
new file mode 100644
index 0000000000..13c8fb6d7f
--- /dev/null
+++ b/system/qtgzmanager/README
@@ -0,0 +1 @@
+QTGZManager is a powerful tool to manage Slackware Linux TGZ/TXZ packages.
diff --git a/system/qtgzmanager/qtgzmanager.SlackBuild b/system/qtgzmanager/qtgzmanager.SlackBuild
new file mode 100644
index 0000000000..c6f3f915a7
--- /dev/null
+++ b/system/qtgzmanager/qtgzmanager.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/sh
+
+# Slackware build script for qtgzmanager
+# Written by Alexandre Albuquerque Arnt <aaarnt@gmail.com>
+# Based on http://slackbuilds.org/template.SlackBuild
+
+PRGNAM=qtgzmanager
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+qmake \
+ QMAKE_LIBS="$SLKCFLAGS" \
+ QMAKE_CFLAGS="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS="$SLKCFLAGS"
+make
+
+mkdir -p $PKG/usr/bin
+cp -a bin/qtgzmanager $PKG/usr/bin
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a copying INSTALL LICENSE THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/share/applications/
+cp -a qtgzmanager.desktop $PKG/usr/share/applications/
+
+mkdir -p $PKG/usr/share/pixmaps
+cp -a resources/images/QTGZ.png $PKG/usr/share/pixmaps
+
+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.${PKGTYPE:-tgz}
diff --git a/system/qtgzmanager/qtgzmanager.info b/system/qtgzmanager/qtgzmanager.info
new file mode 100644
index 0000000000..136450d899
--- /dev/null
+++ b/system/qtgzmanager/qtgzmanager.info
@@ -0,0 +1,10 @@
+PRGNAM="qtgzmanager"
+VERSION="1.0"
+HOMEPAGE="http://qtgzmanager.wordpress.com"
+DOWNLOAD="http://downloads.sourceforge.net/jtgzmanager/qtgzmanager-1.0-src.tar.bz2"
+MD5SUM="aa910b666a3b31e9e803dd619545a343"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexandre Albuquerque Arnt"
+EMAIL="aaarnt@gmail.com"
diff --git a/system/qtgzmanager/slack-desc b/system/qtgzmanager/slack-desc
new file mode 100644
index 0000000000..a0dd2341b9
--- /dev/null
+++ b/system/qtgzmanager/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qtgzmanager: QTGZManager (TGZ/TXZ package management)
+qtgzmanager:
+qtgzmanager: QTGZManager is a T?Z package management application that uses
+qtgzmanager: standard pkgtools (present in any Slackware based system) to
+qtgzmanager: manage the OS software. It provides an easy to use four
+qtgzmanager: pane view (directories, packages in the selected dir, installed
+qtgzmanager: packages in the system and package actions), drag and drop and
+qtgzmanager: context menu support.
+qtgzmanager:
+qtgzmanager: Homepage: http://qtgzmanager.wordpress.com
+qtgzmanager: