blob: e0c8a1502ee0ef5759e40a0d336aa1ffb32ab59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=boost-build
pkgver=1.66.0
pkgrel=0
pkgdesc="Boost.Build makes it easy to build C++ projects, everywhere"
url="http://boost.org/build"
arch="all"
options="!check"
license="custom:boost"
depends="boost-dev"
makedepends=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/boostorg/${pkgname#*-}/archive/${pkgname%%-*}-$pkgver.tar.gz
$pkgname-$pkgver-LICENSE.txt::http://boost.org/LICENSE_1_0.txt"
builddir="$srcdir/${pkgname#*-}-${pkgname%%-*}-$pkgver"
build() {
cd "$builddir"
./bootstrap.sh
}
package() {
cd "$builddir"
./b2 install --prefix="$pkgdir"/usr
install -Dm644 "$srcdir"/$pkgname-$pkgver-LICENSE.txt \
"$pkgdir"/usr/share/doc/$pkgname/LICENSE
mv "$pkgdir"/usr/share/$pkgname/example "$pkgdir"/usr/share/doc/$pkgname
rm "$pkgdir"/usr/bin/bjam
}
sha512sums="db94eefa0c2fe410cfdf7599102670377a069d52a7c8d4181f6209e3e65860e9d92f86ec5994e402b8a773a47a4ad5c074acf9763eabbe293266af19380e7ca9 boost-build-1.66.0.tar.gz
d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 boost-build-1.66.0-LICENSE.txt"
|