[Lunar-commits] <moonbase> allegro: Version bump, changed to cmake build process

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Aug 23 13:07:33 CEST 2010


commit 758d6757da21596ac1490eae0fdd5debbc4597cb
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon Aug 23 07:07:33 2010 -0400

    allegro: Version bump, changed to cmake build process
    
    and added a DEPENDS.
---
 libs/allegro/BUILD   |   14 ++++++++------
 libs/allegro/DEPENDS |    1 +
 libs/allegro/DETAILS |    8 ++++----
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/libs/allegro/BUILD b/libs/allegro/BUILD
index eeccd0d..9d05f42 100644
--- a/libs/allegro/BUILD
+++ b/libs/allegro/BUILD
@@ -1,12 +1,14 @@
 (
 
-  sedit "s/-O2/$CFLAGS/" configure  &&
+  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
 
-  # Fixes compilation error:
-  # ./src/i386/icpus.s:70: Error: suffix or operands invalid for `fnstsw'
-  # Info at http://www.allegro.cc/forums/thread/597882
-  OPTS+=" --disable-asm"  &&
+  mkdir $OOTB_DIR &&
+  cd $OOTB_DIR &&
 
-  default_build
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+                           -DCMAKE_BUILD_TYPE=RELEASE            \
+                           $OPTS                                 &&
+
+  default_make
 
 ) > $C_FIFO 2>&1
diff --git a/libs/allegro/DEPENDS b/libs/allegro/DEPENDS
new file mode 100644
index 0000000..60dd614
--- /dev/null
+++ b/libs/allegro/DEPENDS
@@ -0,0 +1 @@
+depends cmake
diff --git a/libs/allegro/DETAILS b/libs/allegro/DETAILS
index fb29ec5..4dd2673 100644
--- a/libs/allegro/DETAILS
+++ b/libs/allegro/DETAILS
@@ -1,13 +1,13 @@
           MODULE=allegro
-         VERSION=4.2.3.1
+         VERSION=4.4.1.1
           SOURCE=$MODULE-$VERSION.tar.gz
       SOURCE_URL=$SFORGE_URL/alleg/
-      SOURCE_VFY=sha1:f541ff5f414875bddec321aa1fc55a2218754f22
+      SOURCE_VFY=sha1:1970570b54c4329c7bd6d103db01624c68f2e9be
         WEB_SITE=http://alleg.sourceforge.net/
          ENTERED=20020107
-         UPDATED=20100623
+         UPDATED=20100823
            SHORT="Cross-platform game library"
-           PSAFE=no
+#           PSAFE=no
 
 cat << EOF
 Allegro is a multi-platform game library that provides many functions


More information about the Lunar-commits mailing list