diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2015-01-19 22:48:57 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-24 08:27:18 +0700 |
commit | d97e9ec9467beec467698d9b09581703320fa3df (patch) | |
tree | b56f5936146bdfd8d1dcdcf70c5b6f8851e69458 /gis/SFCGAL/SFCGAL.SlackBuild | |
parent | 76bfa73a3217e6978202ccec3e1f3f23783b126d (diff) |
gis/SFCGAL: Updated for version 1.1.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
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 ed847df12d055..4cdd0a7128a08 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 \ |