Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv30966

Added Files:
        ppl9.info 
Log Message:
%v 0.11 that can be installed along side 0.10.2
pkglibdir for Java stuff moved to %p/lib/ppl-0.11


--- NEW FILE: ppl9.info ---
Package: ppl9
Version: 0.11
Revision: 2
# Distribution: 10.5, 10.6
BuildDependsOnly: True
Depends: %N-shlibs (= %v-%r)
BuildDepends: <<
        fink (>= 0.28),
        gmp (>= 4.2.4-1000),
        m4,
        system-java-dev
<<
Conflicts: ppl
Replaces: ppl
# BuildDepends: gcc4.2
GCC: 4.0
# SetCC: gcc-4.2
# SetCXX: g++-4.2
Source: ftp://ftp.cs.unipr.it/pub/ppl/releases/%v/ppl-%v.tar.bz2
Source-MD5: c414abd2ecaf1f1f48949c78d383ee1a
ConfigureParams: <<
        --mandir=%p/share/man \
        --infodir=%p/share/info \
        --disable-static \
        --enable-pch \
        --with-java="$JAVA_HOME" \
        CFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
        CXXFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
        CPPFLAGS="-I$JAVA_INCLUDE" \
        --enable-check=thorough \
        -C
# if you do not have the patience for the 'thorough' tests, --enable-check=quick
<<
PatchScript: <<
        #!/bin/sh -ev
        # g++-4.0.1 rejects template instantiating w/ anonymous enums -- fangism
        # this was fixed in ppl-0.11; the following patch doesn't do anything
        # file=src/meta_programming.hh
        # sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $file
        # symbols in anonymous namespace given extern linkage
        file=src/initializer.hh
        sed -i.orig -e '/::Init.*initializer/s|^|static |' $file
        # To take advantage of precompiled headers, defined macros must match.
        # patch could apply to src/Makefile.am too
        file=src/Makefile.in
        sed -i.orig -e '/CXXCOMPILE.*-xc++-header/s|-o|-DPIC &|' $file
        # files compiled here are VERY taxing on memory, so we serialize
        file=tests/MIP_Problem/Makefile.in
        echo ".NOTPARALLEL: check-am" >> $file
        # move pkglibdir to a versioned dir to avoid shlib conflict
        file=interfaces/Java/jni/Makefile.in
        sed -i.orig -e '/^pkglibdir =/s|$|-0.11|' $file
        file=interfaces/Java/Makefile.in
        sed -i.orig -e '/^pkglibdir =/s|$|-0.11|' $file
        # use consistent architecture for testing, override default as needed
        file=interfaces/Java/tests/Makefile.in
        case "%m" in
        powerpc ) ;;
        i386 ) sed -i.orig '/\$(JAVA)/s|-classpath|-d32 &|' $file ;;
        x64_64 ) ;;
        esac
<<
CompileScript: <<
        #!/bin/sh -ev
        mkdir build
        cd build
        # old-location
        # JAVA_HOME=`/usr/libexec/java_home`
        JAVA_FW=/System/Library/Frameworks/JavaVM.framework
        JAVA_HOME=$JAVA_FW/Home
        test -d $JAVA_HOME && test -x $JAVA_HOME || \
          { echo "$JAVA_HOME not found." ; exit 1 ;}
        JAVA_INCLUDE=$JAVA_HOME/include
        test -r $JAVA_INCLUDE/jni.h || JAVA_INCLUDE=$JAVA_FW/Headers
        test -r $JAVA_INCLUDE/jni.h || \
          { echo "Missing Java development package containing jni.h." ; \
          echo "Please download/install from Apple and try again." ; \
          echo "Thank you and have a nice day." ; exit 1 ;}
        ../configure %c
        # for ccache-default
        export CCACHE_SLOPPINESS=time_macros
        make
<<
InfoTest: <<
        TestScript: <<
        #!/bin/sh -ev
        cd build
        # for ccache-default
        export CCACHE_SLOPPINESS=time_macros
        make -k check || exit 2
        # make check || exit 2
        <<
        TestDepends: glpk-dev
        TestSuiteSize: large
<<
InstallScript: <<
        #!/bin/sh -ev
        cd build
        make install DESTDIR=%d
<<
DocFiles: <<
        BUGS
        COPYING
        CREDITS
        ChangeLog*
        INSTALL
        NEWS
        README*
        STANDARDS
        TODO
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: <<
        gmp-shlibs (>= 4.2.4-1000),
        libgmpxx-shlibs (>= 4.2.4-1000)
  <<
  Files: <<
    %p/lib/libppl.9*.dylib
    %p/lib/libppl_c.4*.dylib
    %p/lib/libpwl.5*.dylib
    %p/lib/ppl-0.11
  <<
  Shlibs: <<
    %p/lib/libppl.9.dylib 10.0.0 %n (>= 0.11-1)
    %p/lib/libppl_c.4.dylib 5.0.0 %n (>= 0.11-1)
    %p/lib/libpwl.5.dylib 6.0.0 %n (>= 0.11-1)
    !%p/lib/ppl-0.11/libppl_java.jnilib
  <<
  DocFiles: <<
        BUGS
        COPYING
        CREDITS
        ChangeLog*
        INSTALL
        NEWS
        README*
        STANDARDS
        TODO
  <<
<<
License: GPL
Description: Parma Polyhedra Library
DescDetail: <<
The Parma Polyhedra Library (PPL) is a C++ library for the 
manipulation of (not necessarily closed) convex polyhedra 
and other numerical abstractions. The applications of convex 
polyhedra include program analysis, optimized compilation, 
integer and combinatorial optimization and statistical 
data-editing. The Parma Polyhedra Library is user friendly 
(you write `x + 2*y + 5*z <= 7' when you mean it), fully 
dynamic (available virtual memory is the only limitation 
to the dimension of anything), written in standard C++, 
exception-safe, rather efficient and thoroughly documented.
<<
DescPackaging: <<
Reminder to never move %p/lib/ppl from ppl-shlibs since it
brings over private .la as well as private shared lib.

Added CompileScript to deal with Apple's new java.

Initial packaging by Jack Howarth <howa...@bromo.med.uc.edu>.

fangism turned on use of precompiled headers and exported a 
few environment variables for ccache-default support.
Patch to add -DPIC allows defined macros to match to use .gch.

Noticed checks and references to OCaml, which may need to be 
added to BuildDepends or TestDepends.

Epoch was added to ppl-0.10.2 after an accident (fangism).
pkglibdir was versioned to avoid conflicts.
<<
DescPort: <<
Issues was raised about g++-4.0.1 compile failing:
http://www.cs.unipr.it/pipermail/ppl-devel/2008-August/012001.html
fangism patched up the offending lines of C++ in PatchScript for 10.4.
Said patch no longer needed for 0.11.
The monstrously 'thorough' test suite for 0.11 was successfully run and 
passed on powerpc-darwin8 -- fangism.  
<<
Homepage: http://www.cs.unipr.it/ppl
Maintainer: David Fang <fang...@users.sourceforge.net>



------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to