summaryrefslogblamecommitdiff
path: root/system/cloog/APKBUILD
blob: 13cf097eea19d0404ebc4e01e7618a387010c12c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
                                                                        





                                   
                  







                                                                            
         
                      








                                              

                                 


           

                                                           

 
                                                                                                                                                                  
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=cloog
pkgver=0.18.4
pkgrel=1
pkgdesc="The Chunky Loop Generator"
url="http://www.cloog.org/"
arch="all"
license="GPL-2.0+"
depends=""
depends_dev="gmp-dev isl-dev"
makedepends_host="$depends_dev"
makedepends="$makedepends_host"
install=""
subpackages="$pkgname-dev"
source="http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz"

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"