aboutsummaryrefslogtreecommitdiffstats
path: root/testing/boost-build
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-12-01 23:36:20 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-12-29 10:04:09 +0000
commit4734a46f4da3ed14432558a4e22f09b03e452be7 (patch)
tree0f36fa40eb3916efeef759dfec9220cd473a4653 /testing/boost-build
parentdbcc4de9ee99ba5d796398881f6ba1d54ea6874a (diff)
downloadaports-4734a46f4da3ed14432558a4e22f09b03e452be7.tar.bz2
aports-4734a46f4da3ed14432558a4e22f09b03e452be7.tar.xz
testing/boost-build: new aport
http://boost.org/build Boost.Build makes it easy to build C++ projects, everywhere
Diffstat (limited to 'testing/boost-build')
-rw-r--r--testing/boost-build/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/boost-build/APKBUILD b/testing/boost-build/APKBUILD
new file mode 100644
index 0000000000..9a8c9edd6e
--- /dev/null
+++ b/testing/boost-build/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=boost-build
+pkgver=1.62.0
+pkgrel=0
+pkgdesc="Boost.Build makes it easy to build C++ projects, everywhere"
+url="http://boost.org/${pkgname#*-}"
+arch="all"
+license="custom:boost"
+depends="boost-dev"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://github.com/boostorg/${pkgname#*-}/archive/${pkgname%%-*}-$pkgver.tar.gz
+ LICENSE::http://boost.org/LICENSE_1_0.txt"
+builddir="$srcdir"/${pkgname#*-}-${pkgname%%-*}-$pkgver
+
+build() {
+ cd "$builddir"
+ ./bootstrap.sh || return 1
+}
+
+package() {
+ cd "$builddir"
+ ./b2 install --prefix="$pkgdir"/usr || return 1
+ install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+ mv "$pkgdir"/usr/share/$pkgname/example "$pkgdir"/usr/share/doc/$pkgname
+ rm "$pkgdir"/usr/bin/bjam
+}
+
+md5sums="12cc948c2bfc29d306b07f059b143f70 boost-1.62.0.tar.gz
+e4224ccaecb14d942c71d31bef20d78c LICENSE"
+sha256sums="ed5fd20eadb6bb8c26a9e1c50cd3e7a701ce05935a606075ac3c10223c168f68 boost-1.62.0.tar.gz
+c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE"
+sha512sums="4940b058c60223408fca8f022244fe7eb333ff0a8d38e7e9668ccccedae9dc231e7f1a9547cce2975b1176a77289a6ea479e459d64c6650615d8db87a18af17c boost-1.62.0.tar.gz
+d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 LICENSE"