mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Pedro Filipe <xpecex@outlook.com>
|
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer:
|
|
pkgname=boost-build
|
|
pkgver=1.81.0
|
|
pkgrel=0
|
|
pkgdesc="Boost.Build makes it easy to build C++ projects, everywhere"
|
|
url="https://boost.org/build"
|
|
arch="noarch"
|
|
options="!check"
|
|
license="BSL-1.0"
|
|
depends="boost python3"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir/${pkgname#*-}-${pkgname%%-*}-$pkgver"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/boostorg/${pkgname#*-}/archive/${pkgname%%-*}-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./bootstrap.sh
|
|
}
|
|
|
|
package() {
|
|
./b2 install --with-python=/usr/bin/python3 --prefix="$pkgdir"/usr
|
|
|
|
# These binaries are provided by the boost package already
|
|
rm -v -rf "${pkgdir:?}"/usr/bin
|
|
|
|
install -Dm0644 LICENSE.txt "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
|
|
mkdir -p "$pkgdir"/usr/share/doc/"$pkgname"
|
|
mv example "$pkgdir"/usr/share/doc/"$pkgname"/
|
|
}
|
|
|
|
sha512sums="
|
|
ecd7f3d48200939cfea57ca85a41b5d700d4c934131298aa86840104bc4c35d0366673608dc70c9c62c275b573a9a5a1e4568399f41f3564f8816a295c27d4fc boost-build-1.81.0.tar.gz
|
|
"
|