mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
gis/SFCGAL: Updated for version 1.1.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
76bfa73a32
commit
d97e9ec946
2 changed files with 5 additions and 13 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="SFCGAL"
|
||||
VERSION="1.0.5"
|
||||
VERSION="1.1.0"
|
||||
HOMEPAGE="http://www.sfcgal.org"
|
||||
DOWNLOAD="https://github.com/Oslandia/SFCGAL/archive/v1.0.5.tar.gz"
|
||||
MD5SUM="5f51e6efc9b4f4369e544afaba9d3fe7"
|
||||
DOWNLOAD="https://github.com/Oslandia/SFCGAL/archive/v1.1.0.tar.gz"
|
||||
MD5SUM="b4817a47d17b2292cee6199f7b49c31c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="CGAL"
|
||||
|
|
Loading…
Reference in a new issue