Commit eef42f2e authored by Leo's avatar Leo
Browse files

main/boost1.75: make boost-dev an actual metapackage instead of provides

parent 4d75de36
......@@ -2,7 +2,7 @@
pkgname=boost1.75
pkgver=1.75.0
_pkgver="${pkgver//./_}"
pkgrel=3
pkgrel=4
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
......@@ -10,7 +10,12 @@ license="custom"
depends="$pkgname-libs"
depends_dev="$pkgname linux-headers bzip2-dev icu-dev xz-dev zlib-dev"
makedepends="$depends_dev python3-dev>=3.8 flex bison"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
subpackages="
$pkgname-static
$pkgname-dev
$pkgname-doc
boost-dev:_dev
"
source="https://dl.bintray.com/boostorg/release/$pkgver/source/boost_$_pkgver.tar.bz2
boost-1.57.0-python-abi_letters.patch
boost-1.57.0-python-libpython_dep.patch
......@@ -194,13 +199,10 @@ libs() {
rmdir "$pkgdir"/usr/lib >/dev/null 2>&1 || :
}
dev() {
# Claim the unversioned name, this must be removed once we switch our
# boost to a new version
provides="boost-dev=$pkgver-r$pkgrel"
replaces="boost-dev"
default_dev
_dev() {
# This makes boost-dev be a metapackage that depends on boostX.Y-dev
mkdir -p "$subpkgdir"
depends="$pkgname-dev=$pkgver-r$pkgrel"
}
doc() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment