blob: 9b7f8f733e74486b2e777886a39f4a84f7f2847a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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"
|