summaryrefslogblamecommitdiff
path: root/user/muparser/APKBUILD
blob: 5e5ebbd46abb5a91a7a7da41a0076c6fa6b44865 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                
            
        
                                  
                                                   
          
                                  

                   
                          
                                                                                                 
         
               




                                                     
                       

           
                                               
 
                                                                                                                                                                    
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=muparser
pkgver=2.3.2
pkgrel=0
pkgdesc="Fast math parser library"
url="https://beltoforion.de/article.php?a=muparser"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends="cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/beltoforion/$pkgname/archive/v$pkgver.tar.gz"

build() {
        cmake \
		-DBUILD_SHARED_LIBS=ON \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_VERBOSE_MAKEFILE=ON \
		$cmake_opts \
		-Bbuild
        make -C build
}

package() {
        make DESTDIR="$pkgdir" -C build install
}

sha512sums="8ef5c8b3834da3995a782b7364a4eb4197fb706bee4cadabe5511d2a9cf2912c3db6de422a91eff7f9690f8c9c355b9900335e940749d5c243cb732ac1992aef  muparser-2.3.2.tar.gz"