0
|
1 <tool_dependency>
|
|
2 <package name="libpthread-stubs" version="0.3">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.bz2</action>
|
|
6 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
7 <action type="shell_command">make && make install</action>
|
|
8 <action type="set_environment">
|
|
9 <environment_variable name="PKG_CONFIG_PATH" action="prepend_to">$INSTALL_DIR/lib/pkgconfig</environment_variable>
|
|
10 </action>
|
|
11 </actions>
|
|
12 </install>
|
|
13 <readme>The libpthread-stubs package provides weak aliases for pthread functions not provided in libc or otherwise available by default. This is useful for libraries that rely on pthread stubs to use pthreads optionally. On Linux, all necessary pthread functions are available, so this package is simply a placeholder.</readme>
|
|
14 </package>
|
1
|
15 </tool_dependency>
|