diff options
author | Nick Smallbone <nick@smallbone.se> | 2020-09-03 20:58:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-05 08:26:44 +0700 |
commit | 801a1e82e57dcfb11a9a8d70b3dab3e759e4b0d1 (patch) | |
tree | 88fbad7a65a5a81f4f0cdd38855f4bd315f17cae /development | |
parent | 37afa4b154864ee3403cb65b74a3d35ffc63f871 (diff) |
development/swi-prolog: Updated for version 8.2.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/swi-prolog/swi-prolog.SlackBuild | 13 | ||||
-rw-r--r-- | development/swi-prolog/swi-prolog.info | 8 |
2 files changed, 12 insertions, 9 deletions
diff --git a/development/swi-prolog/swi-prolog.SlackBuild b/development/swi-prolog/swi-prolog.SlackBuild index 0ffc6dc4de092..6814dbfe1c712 100644 --- a/development/swi-prolog/swi-prolog.SlackBuild +++ b/development/swi-prolog/swi-prolog.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=swi-prolog -VERSION=${VERSION:-8.0.3} +VERSION=${VERSION:-8.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,6 +73,9 @@ find -L . \ # Compatibility with 14.2's version of CMake sed -i 's/NATIVE_COMMAND/UNIX_COMMAND/g' packages/odbc/cmake/FindODBC.cmake +# Respect $LIBDIRSUFFIX +sed -i "s!lib/\${SWIPL_INSTALL_DIR}!lib${LIBDIRSUFFIX}/\${SWIPL_INSTALL_DIR}!" CMakeLists.txt +sed -i "s!lib/cmake/swipl!lib${LIBDIRSUFFIX}/cmake/swipl!" CMakeLists.txt mkdir -p build cd build @@ -95,10 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE INSTALL VERSION customize \ $PKG/usr/doc/$PRGNAM-$VERSION -ln -s ../../lib/$SRCNAM/doc/Manual $PKG/usr/doc/$PRGNAM-$VERSION/manual -ln -s ../../lib/$SRCNAM/doc/packages $PKG/usr/doc/$PRGNAM-$VERSION -ln -s ../../lib/$SRCNAM/demo $PKG/usr/doc/$PRGNAM-$VERSION -ln -s ../../lib/$SRCNAM/README.md $PKG/usr/doc/$PRGNAM-$VERSION +ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/Manual $PKG/usr/doc/$PRGNAM-$VERSION/manual +ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/doc/packages $PKG/usr/doc/$PRGNAM-$VERSION +ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/demo $PKG/usr/doc/$PRGNAM-$VERSION +ln -s ../../lib${LIBDIRSUFFIX}/$SRCNAM/README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/swi-prolog/swi-prolog.info b/development/swi-prolog/swi-prolog.info index 279e7bddb2bfc..50e1d49fb17f3 100644 --- a/development/swi-prolog/swi-prolog.info +++ b/development/swi-prolog/swi-prolog.info @@ -1,10 +1,10 @@ PRGNAM="swi-prolog" -VERSION="8.0.3" +VERSION="8.2.1" HOMEPAGE="http://www.swi-prolog.org/" -DOWNLOAD="http://www.swi-prolog.org/download/stable/src/swipl-8.0.3.tar.gz" -MD5SUM="84a42c3f0ea50448d59bad4db3a3a362" +DOWNLOAD="https://www.swi-prolog.org/download/stable/src/swipl-8.2.1.tar.gz" +MD5SUM="c9619dbb1ab7834254d1ad24aee7a26c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="unixODBC" MAINTAINER="Nick Smallbone" EMAIL="nick@smallbone.se" |