aboutsummaryrefslogblamecommitdiffstats
path: root/main/cloog/APKBUILD
blob: 9b7f8f733e74486b2e777886a39f4a84f7f2847a (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
             
        


                                   
                          
                             

                               
                          
                                                                            
 
                                   

         
                      



                                 



                                           
                                              

                                 


           

                                                           

 
                                                                                                                                                                  
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cloog
pkgver=0.18.4
pkgrel=2
pkgdesc="The Chunky Loop Generator"
url="http://www.cloog.org/"
arch="all"
license="GPL-2.0-or-later"
depends_dev="gmp-dev isl-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
subpackages="$pkgname-dev"
source="http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-sysroot=${CBUILDROOT} \
		--with-isl=system
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" INSTALL="install -D" install
}

sha512sums="d35d67b08ffe13c1a010b65bfe4dd02b0ae013d5b489e330dc950bd3514defca8f734bd37781856dcedf0491ff6122c34eecb4b0fe32a22d7e6bdadea98c8c23  cloog-0.18.4.tar.gz"