哪里可以找到boost的自动包装骨架?

时间:2010-02-11 01:47:32

标签: boost

我正在使用自动包装来创建安装程序 安装程序包含二进制文件(闭源项目)。该项目依赖于一些boost库(date_time,thread等)。 其他依赖工作正常:

require @haxx.se/libcurl 4
require @openssl.org/openssl 0.9

但是我没有为boost库找到骨架文件。

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

自己创造吧!这很容易。
例如:

# Package skeleton for the boost thread

[Meta]
RootName: @boost.org/boost_thread
DisplayName: Boost thread C++ library
ShortName: libboost_thread
Skeleton-Version: 1

[Notes]
Does not set SOFTWARE_VERSIONS

[Test]
INTERFACE_VERSIONS=$( testForLib -i libboost_thread.so)

if [ -z $INTERFACE_VERSIONS ]
then
INTERFACE_VERSIONS=$( testForLib -i libboost_thread-mt.so)
fi

if [ -z $INTERFACE_VERSIONS ]
then
INTERFACE_VERSIONS=$( testForLib -i libboost_thread-gcc.so)
fi

if [ -z $INTERFACE_VERSIONS ]
then
INTERFACE_VERSIONS=$( testForLib -i libboost_thread-gcc-mt.so)
fi

if [ -z $INTERFACE_VERSIONS ]
then
INTERFACE_VERSIONS=$( testForLib -i libboost_thread-gcc-mt-1_33_1.so)
fi

if [ -z $INTERFACE_VERSIONS ]
then
INTERFACE_VERSIONS=$( testForLib -i libboost_thread-gcc-1_33_1.so)
fi 
相关问题