diff options
Diffstat (limited to 'misc/xwinwrap')
-rw-r--r-- | misc/xwinwrap/README | 4 | ||||
-rw-r--r-- | misc/xwinwrap/xwinwrap.SlackBuild | 19 | ||||
-rw-r--r-- | misc/xwinwrap/xwinwrap.info | 2 |
3 files changed, 16 insertions, 9 deletions
diff --git a/misc/xwinwrap/README b/misc/xwinwrap/README index 9b89481bda..46f7844dba 100644 --- a/misc/xwinwrap/README +++ b/misc/xwinwrap/README @@ -1,2 +1,2 @@ -XWinWrap is an app that allows users of xgl to replace a desktop background -with a movie or screensaver. +XWinWrap is an app that allows users of xgl to replace a desktop +background with a movie or screensaver. diff --git a/misc/xwinwrap/xwinwrap.SlackBuild b/misc/xwinwrap/xwinwrap.SlackBuild index fd2e87f284..fb35d68560 100644 --- a/misc/xwinwrap/xwinwrap.SlackBuild +++ b/misc/xwinwrap/xwinwrap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for XWinWrap # @@ -22,26 +22,33 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xwinwrap VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -80,4 +87,4 @@ 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/misc/xwinwrap/xwinwrap.info b/misc/xwinwrap/xwinwrap.info index bf9aac1a34..10dc630e9e 100644 --- a/misc/xwinwrap/xwinwrap.info +++ b/misc/xwinwrap/xwinwrap.info @@ -1,7 +1,7 @@ PRGNAM="xwinwrap" VERSION="0.3" HOMEPAGE="https://launchpad.net/xwinwrap" -DOWNLOAD="http://ftp.nsysu.edu.tw/FreeBSD/ports/local-distfiles/vg/xwinwrap-0.3.tar.bz2" +DOWNLOAD="http://mirror.its.dal.ca/freebsd/distfiles/xwinwrap-0.3.tar.bz2" MD5SUM="028e54d47747d50b6e7eee4167fbb06a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |