Changeset 12156 in project for release/4/imlib2/trunk/imlib2.setup


Ignore:
Timestamp:
10/14/08 23:09:27 (13 years ago)
Author:
sjamaan
Message:

Port imlib2 to chicken 4

Location:
release/4/imlib2
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/imlib2/trunk/imlib2.setup

    r10056 r12156  
    1 (define has-exports? (string>=? (chicken-version) "2.310"))
    2 
    31#+(and unix (not macosx))
    42(define RPATH-FLAGS "-Wl,-R/usr/X11R6/lib")
     
    119(if with-x?
    1210  (compile -feature with-x -s -O2 -d0
    13     ,@(if has-exports? '(-check-imports -emit-exports imlib2.exports) '())
    1411    imlib2.scm
    1512    -I/usr/X11R6/include
    16     -lImlib2 "`freetype-config --libs`" -L/usr/X11R6/lib ,RPATH-FLAGS -lX11 -lXext)
     13    -lImlib2 "`freetype-config --libs`" -L/usr/X11R6/lib ,RPATH-FLAGS -lX11 -lXext
     14    -j imlib2)
    1715  (compile -s -O2 -d0
    18     ,@(if has-exports? '(-check-imports -emit-exports imlib2.exports) '())
    19     imlib2.scm -C -DX_DISPLAY_MISSING))
     16    imlib2.scm -C -DX_DISPLAY_MISSING
     17    -j imlib2))
     18
     19(compile -s -O2 imlib2.import.scm)
    2020
    2121(install-extension 'imlib2
    22         '("imlib2.so" "imlib2.html")
    23         `((version "0.6")
    24     ,@(if has-exports? `((exports "imlib2.exports")) '())
    25                 (documentation "imlib2.html") ) )
     22  '("imlib2.so" "imlib2.import.so")
     23  `((version "0.6")
     24    (documentation "imlib2.html") ) )
Note: See TracChangeset for help on using the changeset viewer.