diff options
author | Michales Michaloudes <korgie@gmail.com> | 2010-04-20 01:15:04 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:34 +0200 |
commit | 28cba043197a294ac22e118366c2e2948a13cac9 (patch) | |
tree | 23925228ae3b4df208ec5266508994f8457e9047 /multimedia/dssi/dssi.SlackBuild | |
parent | 757edc1afde8121490744276b4aae98bf8009a89 (diff) |
multimedia/dssi: Build bump, BUILD=2
Added profile.d scripts.
Thanks to Heinz Wiesinger.
Diffstat (limited to 'multimedia/dssi/dssi.SlackBuild')
-rw-r--r-- | multimedia/dssi/dssi.SlackBuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/multimedia/dssi/dssi.SlackBuild b/multimedia/dssi/dssi.SlackBuild index b60d99b0473da..b13230d31927d 100644 --- a/multimedia/dssi/dssi.SlackBuild +++ b/multimedia/dssi/dssi.SlackBuild @@ -2,15 +2,16 @@ # Slackware build script for <dssi> # Written by Michales Michaloudes korgie@gmail.com +# Updated by Heinz Wiesinger pprkut@liwjatan.at - Added profile.d scripts PRGNAM=dssi VERSION=${VERSION:-1.0.0} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -57,6 +58,17 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +mkdir -p $PKG/etc/profile.d/ +cat << EOF > $PKG/etc/profile.d/dssi.csh +#!/bin/csh +setenv DSSI_PATH /usr/lib${LIBDIRSUFFIX}/dssi +EOF +cat << EOF > $PKG/etc/profile.d/dssi.sh +#!/bin/sh +export DSSI_PATH=/usr/lib${LIBDIRSUFFIX}/dssi +EOF +chmod 0755 $PKG/etc/profile.d/* + ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true |