diff options
Diffstat (limited to 'libraries/SFGUI/SFGUI.SlackBuild')
-rw-r--r-- | libraries/SFGUI/SFGUI.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild index 2f13a2953c..4d1707634a 100644 --- a/libraries/SFGUI/SFGUI.SlackBuild +++ b/libraries/SFGUI/SFGUI.SlackBuild @@ -10,7 +10,7 @@ # without any warranty. PRGNAM=SFGUI -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION-source.zip +unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION.zip cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -65,8 +65,10 @@ cd build -DCMAKE_BUILD_TYPE=Release .. # -DLIB_SUFFIX is ignored. Patch CMakeLists as needed. - sed -i 's%/lib/%/lib64/%g' cmake_install.cmake || exit - sed -i 's%/lib"%/lib64/"%g' cmake_install.cmake || exit + sed -i \ + -e "s:\\\${CMAKE_INSTALL_PREFIX}/lib:&${LIBDIRSUFFIX}:" \ + cmake_install.cmake + make make install DESTDIR=$PKG cd .. |