Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Romain Sertelon <romain@sertelon.fr>
- Loading branch information
Showing
4 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# boost159 | ||
|
||
Boost provides free peer-reviewed portable C++ source libraries. | ||
|
||
> Note: this package is required by `core/mysql` and `core/mysql-client` packages, you should use `core/boost` in your packages instead. | ||
## Maintainers | ||
|
||
* The Habitat Maintainers: <humans@habitat.sh> | ||
|
||
## Type of Package | ||
|
||
Binary package | ||
|
||
## Usage | ||
|
||
This is a library usually used at build time, thus you should use it like so in your plans: | ||
|
||
``` | ||
pkg_build_deps=( | ||
core/boost159 | ||
) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
pkg_name=boost159 | ||
pkg_origin=core | ||
pkg_description='Boost provides free peer-reviewed portable C++ source libraries.' | ||
pkg_upstream_url='http://www.boost.org/' | ||
pkg_version=1.59.0 | ||
pkg_maintainer='The Habitat Maintainers <humans@habitat.sh>' | ||
pkg_license=('Boost Software License') | ||
pkg_dirname="boost_${pkg_version//./_}" | ||
pkg_source="http://downloads.sourceforge.net/project/boost/boost/${pkg_version}/${pkg_dirname}.tar.gz" | ||
pkg_shasum="47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac" | ||
|
||
pkg_deps=( | ||
core/glibc | ||
core/gcc-libs | ||
) | ||
|
||
pkg_build_deps=( | ||
core/glibc | ||
core/gcc-libs | ||
core/coreutils | ||
core/diffutils | ||
core/patch | ||
core/make | ||
core/gcc | ||
core/python2 | ||
core/libxml2 | ||
core/libxslt | ||
core/openssl | ||
core/which | ||
core/zlib | ||
) | ||
|
||
pkg_lib_dirs=(lib) | ||
pkg_include_dirs=(include) | ||
|
||
do_build() { | ||
./bootstrap.sh --prefix="$pkg_prefix" | ||
} | ||
|
||
do_install() { | ||
export NO_BZIP2=1 | ||
export ZLIB_LIBPATH | ||
ZLIB_LIBPATH="$(pkg_path_for core/zlib)/lib" | ||
export ZLIB_INCLUDE | ||
ZLIB_INCLUDE="$(pkg_path_for core/zlib)/include" | ||
./b2 install --prefix="$pkg_prefix" -q --debug-configuration -j"$(nproc)" | ||
} |