diff options
Diffstat (limited to 'gis/SFCGAL/SFCGAL.SlackBuild')
-rw-r--r-- | gis/SFCGAL/SFCGAL.SlackBuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gis/SFCGAL/SFCGAL.SlackBuild b/gis/SFCGAL/SFCGAL.SlackBuild index ed847df12d..4cdd0a7128 100644 --- a/gis/SFCGAL/SFCGAL.SlackBuild +++ b/gis/SFCGAL/SFCGAL.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SFCGAL -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,11 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -77,10 +73,6 @@ find -L . \ WITH_DOC=${WITH_DOC:-NO} -# respect LIBDIRSUFFIX -sed -i "s|/lib|/lib$LIBDIRSUFFIX|" sfcgal-config.in CMakeLists.txt -sed -i "s|\ lib$| lib$LIBDIRSUFFIX|" src/CMakeLists.txt - mkdir -p build cd build cmake \ |