summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dssi/dssi.SlackBuild16
-rw-r--r--multimedia/dssi/dssi.info2
2 files changed, 15 insertions, 3 deletions
diff --git a/multimedia/dssi/dssi.SlackBuild b/multimedia/dssi/dssi.SlackBuild
index b60d99b047..b13230d319 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
diff --git a/multimedia/dssi/dssi.info b/multimedia/dssi/dssi.info
index b0356ccbb7..c46872df17 100644
--- a/multimedia/dssi/dssi.info
+++ b/multimedia/dssi/dssi.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"