summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commit28cba043197a294ac22e118366c2e2948a13cac9 (patch)
tree23925228ae3b4df208ec5266508994f8457e9047
parent757edc1afde8121490744276b4aae98bf8009a89 (diff)
downloadslackbuilds-28cba043197a294ac22e118366c2e2948a13cac9.tar.gz
slackbuilds-28cba043197a294ac22e118366c2e2948a13cac9.tar.xz
multimedia/dssi: Build bump, BUILD=2
Added profile.d scripts. Thanks to Heinz Wiesinger.
-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"