blob: 2a7b414c28ad18205f2deb8ce4f118cf4f213343 (
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
|
# $Id$
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=libclc
pkgver=0.0.1.217247
pkgrel=1
pkgdesc="Library requirements of the OpenCL C programming language"
arch=('any')
url="http://libclc.llvm.org/"
license=('MIT')
makedepends=('clang' 'svn' 'python2')
options=('staticlibs')
source=('libclc::svn+http://llvm.org/svn/llvm-project/libclc/trunk#revision=217247')
md5sums=(SKIP)
build() {
cd libclc
sed -i 's/"python < $in >/sys.executable + " < $in >/g' configure.py
# sed -i 's/python < $in >/python2 < $in >/g' configure.py
python2 ./configure.py --prefix=/usr
make
}
package() {
cd libclc
make install DESTDIR="$pkgdir"
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|