diff options
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 |