diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /graphics/luxrender/luxrender.SlackBuild | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) | |
download | slackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.gz |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/luxrender/luxrender.SlackBuild')
-rw-r--r-- | graphics/luxrender/luxrender.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild index e670f3ace2..ab6d84f228 100644 --- a/graphics/luxrender/luxrender.SlackBuild +++ b/graphics/luxrender/luxrender.SlackBuild @@ -29,12 +29,10 @@ TAG=${TAG:-_SBo} SRCVERSION=lux-4b4289cda943 LUXRAYSRCVERSION=luxrays-589aa5dac899 -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; -# Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -101,7 +99,7 @@ cd - cmake ./ \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release # compile luxrays make luxrays @@ -149,10 +147,10 @@ cmake ./ # compile luxrender make luxrender -make install DESTDIR=$PKG +make install DESTDIR=$PKG # /usr/local? no, thanks -cp -r $PKG/usr/local/* $PKG/usr +cp -r $PKG/usr/local/* $PKG/usr rm -rf $PKG/usr/local # copy pylux.so |