diff options
Diffstat (limited to 'development/qconf')
-rw-r--r-- | development/qconf/README | 6 | ||||
-rw-r--r-- | development/qconf/qconf.SlackBuild | 16 | ||||
-rw-r--r-- | development/qconf/qconf.info | 2 |
3 files changed, 17 insertions, 7 deletions
diff --git a/development/qconf/README b/development/qconf/README index c15f0019c9..1d414b6de8 100644 --- a/development/qconf/README +++ b/development/qconf/README @@ -2,9 +2,9 @@ QConf allows you to have a nice configure script for your qmake-based project. It is intended for developers who don't need (or want) to use the more complex GNU autotools. -Scripts generated by QConf are meant for unix. This means it should only -be used with projects based on Qt/X11, Qt/Mac, or Qt/Embedded. No effort -has been made in supporting Qt/Windows based projects (yet). +Scripts generated by QConf are meant for unix. This means it should +only be used with projects based on Qt/X11, Qt/Mac, or Qt/Embedded. +No effort has been made in supporting Qt/Windows based projects (yet). NOTE: QConf is a Qt 4 program as of version 1.2. However, it can still generate configure scripts for Qt 3 apps. See below for information. diff --git a/development/qconf/qconf.SlackBuild b/development/qconf/qconf.SlackBuild index c642f886c3..3456c7ccab 100644 --- a/development/qconf/qconf.SlackBuild +++ b/development/qconf/qconf.SlackBuild @@ -1,11 +1,14 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for qconf # Written by Alexei Panov <elemc@atisserv.ru> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qconf VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -15,7 +18,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -68,5 +78,5 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/qconf/qconf.info b/development/qconf/qconf.info index e9a45977ef..836130db8e 100644 --- a/development/qconf/qconf.info +++ b/development/qconf/qconf.info @@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/qconf-1.4.tar.bz2" MD5SUM="e0080044f88c31e032008d5a5682a112" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="Alexei Panov" EMAIL="elemc@atisserv.ru" |