aboutsummaryrefslogblamecommitdiffstats
path: root/testing/boost-build/APKBUILD
blob: d968e7d313e6c69d69a94d3c262cff6e071d795e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                


                                                      
             
        
                                                                     
                            
          
                



                          
                                                                                                                
                                                                        
                                                       


                      
                      



                      
 
                                           
                                                               
                                                        
 



                                                                                

                                                                                                                                                                       
# Contributor: Pedro Filipe <xpecex@outlook.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=boost-build
pkgver=1.68.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::https://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="ede4ea6bba966bfdc590ea21b8787f090c690db851fd6eb19644f089de8828b6cec504a7f4be203d57017de2a0288f0e12772e50d9017287221520dca1676a79  boost-build-1.68.0.tar.gz
d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8  boost-build-1.68.0-LICENSE.txt"