[Lunar-commits] <moonbase-other> swi-prolog: version bump & finally build the environment too

v4hn me at v4hn.de
Wed Jul 25 13:14:16 CEST 2012


commit 9eb37d0cc7d7edfb1846fcb90f03cd898698b576
Author: v4hn <me at v4hn.de>
Date: Wed, 25 Jul 2012 04:14:16 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/9eb37d0cc7d7edfb1846fcb90f03cd898698b576

swi-prolog: version bump & finally build the environment too
---
  compilers/swi-prolog/BUILD                                   +17/-0    
  compilers/swi-prolog/DEPENDS                                 +11/-0    
  compilers/swi-prolog/DETAILS                                 +5/-5     
  3 files changed, 33 insertions (+), 5 deletions (-)

--- /dev/null
+++ b/compilers/swi-prolog/BUILD
@@ -0,0 +1,17 @@
+(
+
+  # looks like they use a different uudecode... don't use ours
+  sedit "s:^if uudecode.*$:if false; then:" packages/jpl/configure &&
+
+  OPTS+=" --with-world" &&
+
+  # no idea why they catch those flags here - this breaks
+  # a lot.. let's just remove the catch statement
+  sedit "/--without-/ { N;N;N;N;d }" configure &&
+
+  message "${MESSAGE_COLOR}The following 'unrecognized...' warning is alright${DEFAULT_COLOR}"
+  # The configure in src/ doesn't know any --without-XYZ flags,
+  # but we need to pass them on to packages/configure
+  default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/compilers/swi-prolog/DEPENDS
@@ -0,0 +1,11 @@
+optional_depends openssl "" "--without-ssl"   "for ssl package"
+optional_depends zlib    "" "--without-zlib"  "for zlib package"
+
+optional_depends libX11 "" "--without-xpce"   "for graphical IDE (also say 'y' to jpeg and xpm)"
+optional_depends jpeg   "" ""   "for graphical IDE"
+optional_depends libXpm "" ""   "for graphical IDE"
+
+optional_depends unixODBC  "" "--without-odbc" "for odbc database package"
+
+# no the sun-jre is not enough
+optional_depends sun-jdk "" "--without-jpl" "for the java<->prolog interface jpl"
--- a/compilers/swi-prolog/DETAILS
+++ b/compilers/swi-prolog/DETAILS
@@ -1,12 +1,12 @@
           MODULE=swi-prolog
-         VERSION=pl-5.10.5
-          SOURCE=$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$VERSION
+         VERSION=6.0.2
+          SOURCE=pl-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/pl-$VERSION
       SOURCE_URL=http://www.swi-prolog.org/download/stable/src/
-      SOURCE_VFY=sha1:bc27e997e20120aed9be68af2fdccfb093ff16eb
+      SOURCE_VFY=sha1:5760ab801f378b35355b48768b41ca3c9828324e
         WEB_SITE=http://www.swi-prolog.org/
          ENTERED=20040420
-         UPDATED=20111008
+         UPDATED=20120724
            SHORT="SWI-Prolog: A Prolog compiler"
 
 cat << EOF




More information about the Lunar-commits mailing list