Op 09-02-13 20:55, Hanspeter Niederstrasser schreef:
> On 2/9/2013 12:35 PM, William G. Scott wrote:
>> On Feb 9, 2013, at 9:16 AM, Martin Costabel <costa...@wanadoo.fr> wrote:
>>>> In any case, would it be possible to get a boost1.53 package ?
>>>> Right now I am building the required library within my nascent
>>>> rdkit package, but this is a bandaid approach.

Hi all,

I created a package for Boost 1.52.0 earlier. It seems to be working OK for me, 
but haven't tested it a lot. If you want, feel free to commit it.

Sjors
Package: boost1.52.0
Version: 1.52.0
Revision: 1
Description: Boost C++ Libraries
Homepage: http://www.boost.org
DescDetail: <<
        The Boost web site provides free peer-reviewed portable C++ source
        libraries. The emphasis is on libraries which work well with the
        C++ Standard Library. The libraries are intended to be widely useful,
        and are in regular use by thousands of programmers across a broad
        spectrum of applications.

        A further goal is to establish "existing practice" and provide
        reference implementations so that Boost libraries are suitable for
        eventual standardization. Ten Boost libraries will be included in
        the C++ Standards Committee's upcoming C++ Standard Library Technical
        Report as a step toward becoming part of a future C++ Standard.

        Although Boost was begun by members of the C++ Standards Committee
        Library Working Group, participation has expanded to include thousands
        of programmers from the C++ community at large.
<<
License: BSD
Maintainer: Sjors Gielen <fink+bo...@sjorsgielen.nl>

Source: mirror:sourceforge:boost/boost_1_52_0.tar.bz2
Source-MD5: 3a855e0f919107e0ca4de4d84ad3f750
PatchFile: boost1.52.0.patch
PatchFile-MD5: d0a52528f55377009f9a4a9054565b8e

Depends: %n-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.12)
BuildDependsOnly: true
Conflicts: <<
        boost-foreach,
        boost1.31,
        boost1.32-py23,
        boost1.32-py24,
        boost1.32.python,
        boost1.33,
        boost1.34.systempython,
        boost1.34.python23,
        boost1.34.python24,
        boost1.34.python25,
        boost1.34.nopython,
        boost1.35.systempython,
        boost1.35.python23,
        boost1.35.python24,
        boost1.35.python25,
        boost1.35.python26,
        boost1.35.python27,
        boost1.35.nopython,
        boost1.41.cmake,
        boost1.46.1.cmake
<<
Replaces: <<
        boost-foreach,
        boost1.31,
        boost1.32-py23,
        boost1.32-py24,
        boost1.32.python,
        boost1.33,
        boost1.34.systempython,
        boost1.34.python23,
        boost1.34.python24,
        boost1.34.python25,
        boost1.34.nopython,
        boost1.35.systempython,
        boost1.35.python23,
        boost1.35.python24,
        boost1.35.python25,
        boost1.35.python26,
        boost1.35.python27,
        boost1.35.nopython,
        boost1.41.cmake,
        boost1.46.1.cmake
<<

CompileScript: <<
        #!/bin/sh -ev
        ./bootstrap.sh --without-icu --without-libraries=python \
                --prefix="%p"
        ./b2 --prefix="%p" --compatibility_version=%v --current_version=%v
<<

InstallScript: <<
        #!/bin/sh -ev
        ./b2 install --prefix="%i" --compatibility_version=%v 
--current_version=%v
        for lib in chrono context date_time filesystem graph iostreams locale \
                math_c99 math_c99f math_c99l math_tr1 math_tr1f math_tr1l \
                prg_exec_monitor program_options random regex serialization \
                signals system thread timer unit_test_framework wave 
wserialization
        do
                mv "%i/lib/libboost_${lib}.dylib" 
"%i/lib/libboost_${lib}.%v.dylib"
                install_name_tool -id "%p/lib/libboost_${lib}.%v.dylib" 
"%i/lib/libboost_${lib}.%v.dylib"
        done
<<

DocFiles: LICENSE_1_0.txt boost.png boost.css index.html rst.css libs more tools

SplitOff: <<
        Package: %n-shlibs

        Files: <<
                lib/libboost_chrono.%v.dylib
                lib/libboost_context.%v.dylib
                lib/libboost_date_time.%v.dylib
                lib/libboost_filesystem.%v.dylib
                lib/libboost_graph.%v.dylib
                lib/libboost_iostreams.%v.dylib
                lib/libboost_locale.%v.dylib
                lib/libboost_math_c99.%v.dylib
                lib/libboost_math_c99f.%v.dylib
                lib/libboost_math_c99l.%v.dylib
                lib/libboost_math_tr1.%v.dylib
                lib/libboost_math_tr1f.%v.dylib
                lib/libboost_math_tr1l.%v.dylib
                lib/libboost_prg_exec_monitor.%v.dylib
                lib/libboost_program_options.%v.dylib
                lib/libboost_random.%v.dylib
                lib/libboost_regex.%v.dylib
                lib/libboost_serialization.%v.dylib
                lib/libboost_signals.%v.dylib
                lib/libboost_system.%v.dylib
                lib/libboost_thread.%v.dylib
                lib/libboost_timer.%v.dylib
                lib/libboost_unit_test_framework.%v.dylib
                lib/libboost_wave.%v.dylib
                lib/libboost_wserialization.%v.dylib
        <<
        Shlibs: <<
                %p/lib/libboost_chrono.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_context.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_date_time.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_filesystem.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_graph.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_iostreams.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_locale.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_c99.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_c99f.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_c99l.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_tr1.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_tr1f.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_math_tr1l.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_prg_exec_monitor.%v.dylib 1.52.0 %n (>= 
1.52.0-1)
                %p/lib/libboost_program_options.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_random.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_regex.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_serialization.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_signals.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_system.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_thread.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_timer.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_unit_test_framework.%v.dylib 1.52.0 %n (>= 
1.52.0-1)
                %p/lib/libboost_wave.%v.dylib 1.52.0 %n (>= 1.52.0-1)
                %p/lib/libboost_wserialization.%v.dylib 1.52.0 %n (>= 1.52.0-1)
        <<

        DocFiles: LICENSE_1_0.txt
<<

DescPort: <<
 Patch to darwin.jam teaches build-jam v2 to use
 -install_name and  -compatibility_version for the dylibs
 and also -flat_namespace -undefined dynamic_lookup that
 is needed for the python cylibs.
 
 These are transmitted on the bjam command line by the options
 --compatibility_version, --current_version and
 --undefined.

 This patch was forward-ported from the Boost 1.35 package maintained
 by Martin Costabel <costa...@users.sourceforge.net>.
<<
--- boost_1_42_0.orig/tools/build/v2/tools/darwin.jam   2012-04-26 
05:35:55.000000000 +0200
+++ boost_1_42_0/tools/build/v2/tools/darwin.jam        2012-12-24 
03:24:52.000000000 +0100
@@ -20,6 +20,8 @@
 import property-set ;
 import regex ;
 import errors ;
+import os ;
+import option ;
 
 ## Use a framework.
 feature framework : : free ;
@@ -568,11 +570,16 @@
 {
     setup-address-model $(targets) : $(sources) : $(properties) ;
     prepare-framework-path $(<) ;
+    local prefix = [ option.get prefix ] ;
+    LIB_INSTALL_DIR = [ option.get libdir : $(prefix)/lib ] ;
+    VERSIONINFO_COMP = [ option.get compatibility_version ] ;
+    VERSIONINFO_CUR = [ option.get current_version ] ;
+    UNDEFINED = [ option.get undefined ] ;
 }
 
 actions link.dll bind LIBRARIES
 {
-    "$(CONFIG_COMMAND)" -dynamiclib -Wl,-single_module -install_name 
"$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) 
-l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) 
$(USER_OPTIONS)
+    "$(CONFIG_COMMAND)" -dynamiclib $(UNDEFINED) -Wl,-single_module 
-install_name $(<:D=$(LIB_INSTALL_DIR):S=.dylib) -compatibility_version 
$(VERSIONINFO_COMP) -current_version $(VERSIONINFO_CUR) -L"$(LINKPATH)" -o 
"$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) 
$(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
 }
 
 # We use libtool instead of ar to support universal binary linking

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to