diff options
Diffstat (limited to 'libraries/squish/squish.SlackBuild')
-rw-r--r-- | libraries/squish/squish.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/squish/squish.SlackBuild b/libraries/squish/squish.SlackBuild index b2bb675b13..9391ab56d0 100644 --- a/libraries/squish/squish.SlackBuild +++ b/libraries/squish/squish.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=squish -VERSION=${VERSION:-r52} +VERSION=${VERSION:-r60} +SRCNAM=source-archive BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,11 +57,11 @@ fi set -e -rm -rf $PKG $TMP/$PRGNAM-$VERSION +rm -rf $PKG $TMP/libsquish mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +unzip $CWD/$SRCNAM.zip +cd libsquish/trunk chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -74,6 +75,7 @@ find -L . \ # respect $LIBDIRSUFFIX sed -i "s|\ lib$| lib$LIBDIRSUFFIX|" CMakeLists.txt +patch < $CWD/squish.patch # we build squish statically, as it's the most common use mkdir -p build cd build @@ -84,7 +86,7 @@ cd build -DBUILD_SHARED_LIBS=OFF \ -DBUILD_SQUISH_EXTRA=ON \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. |