summaryrefslogtreecommitdiff
path: root/boost/Pkgfile
blob: 97aaf98cea859c98428554c1cb219822d0971cd4 (plain)
    1 # Description: Free peer-reviewed portable C++ source libraries.
    2 # URL: http://www.boost.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: python
    5 # Optional: icu
    6 
    7 name=boost
    8 version=1.73.0
    9 release=1
   10 source=(https://dl.bintray.com/boostorg/release/$version/source/${name}_${version//./_}.tar.bz2)
   11 
   12 build() {
   13 	cd ${name}_${version//./_}
   14 
   15 	local ICU=$([ -e /usr/bin/icu-config ] && echo --with-icu)
   16 	./bootstrap.sh --prefix=$PKG/usr --with-toolset=gcc $ICU
   17 
   18 	./b2 stage \
   19 		variant=release \
   20 		threading=multi \
   21 		runtime-link=shared \
   22 		link=shared,static \
   23 		debug-symbols=off \
   24 		-j ${JOBS-1}
   25 
   26 	./b2 install threading=multi link=shared
   27 }

Generated by cgit