mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
868 B
Bash
33 lines
868 B
Bash
pkgname=boost-build
|
|
pkgver=1.63.0
|
|
epoch=1
|
|
pkgrel=1
|
|
pkgdesc="Boost build system."
|
|
arch=('x86_64')
|
|
url="http://www.boost.org/doc/tools/build/"
|
|
license=('custom')
|
|
depends=('boost-libs' 'gcc' 'python3')
|
|
source=("https://github.com/boostorg/build/archive/boost-${pkgver}.tar.gz"
|
|
"http://www.boost.org/LICENSE_1_0.txt")
|
|
sha1sums=('882086bd0869ebba0bf5bf3c2d1bdb43caa90803'
|
|
'3cba29011be2b9d59f6204d6fa0a386b1b2dbd90')
|
|
|
|
prepare() {
|
|
cd ${srcdir}/build-boost-${pkgver}
|
|
|
|
./bootstrap.sh
|
|
}
|
|
|
|
package(){
|
|
cd ${srcdir}/build-boost-${pkgver}
|
|
|
|
./b2 install --prefix=${pkgdir}/usr
|
|
|
|
# Removing b2 and bjam, already installed by boost
|
|
msg2 "Removing /usr/bin/b2 and /usr/bin/bjam files, already installed by boost"
|
|
rm -rf ${pkgdir}/usr/bin/
|
|
|
|
# License.
|
|
install -Dm 644 $srcdir/LICENSE_1_0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|