aboutsummaryrefslogtreecommitdiff
path: root/gis/geographiclib-python/geographiclib-python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/geographiclib-python/geographiclib-python.SlackBuild')
-rw-r--r--gis/geographiclib-python/geographiclib-python.SlackBuild24
1 files changed, 3 insertions, 21 deletions
diff --git a/gis/geographiclib-python/geographiclib-python.SlackBuild b/gis/geographiclib-python/geographiclib-python.SlackBuild
index 1f725b3a76..a36544db71 100644
--- a/gis/geographiclib-python/geographiclib-python.SlackBuild
+++ b/gis/geographiclib-python/geographiclib-python.SlackBuild
@@ -3,6 +3,7 @@
# SlackBuild for geographiclib-python
#
# Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geographiclib-python
-VERSION=${VERSION:-1.50}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-2.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -51,22 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-JOBS=${JOBS:-1}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG