mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 15:03:42 +01:00
Initial commit for libclc-svn.
This commit is contained in:
commit
8eef0ccff8
2 changed files with 67 additions and 0 deletions
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Generated by makepkg 4.2.0
|
||||
# Tue Dec 30 17:49:21 UTC 2014
|
||||
pkgbase = libclc-svn
|
||||
pkgdesc = Library requirements of the OpenCL C programming language
|
||||
pkgver = 224991
|
||||
pkgrel = 1
|
||||
url = http://libclc.llvm.org/
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = clang
|
||||
makedepends = subversion
|
||||
makedepends = python2
|
||||
provides = libclc
|
||||
conflicts = libclc
|
||||
replaces = libclc
|
||||
options = staticlibs
|
||||
source = libclc::svn+http://llvm.org/svn/llvm-project/libclc/trunk
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = libclc-svn
|
||||
|
||||
46
PKGBUILD
Normal file
46
PKGBUILD
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Maintainer: Armin K. <krejzi at email dot com>
|
||||
|
||||
pkgname=libclc-svn
|
||||
_pkgname=libclc
|
||||
pkgver=224991
|
||||
pkgrel=1
|
||||
pkgdesc="Library requirements of the OpenCL C programming language"
|
||||
arch=('any')
|
||||
url="http://libclc.llvm.org/"
|
||||
license=('MIT')
|
||||
makedepends=('clang' 'subversion' 'python2')
|
||||
options=('staticlibs')
|
||||
source=("${_pkgname}::svn+http://llvm.org/svn/llvm-project/libclc/trunk")
|
||||
md5sums=(SKIP)
|
||||
provides=('libclc')
|
||||
replaces=('libclc')
|
||||
conflicts=('libclc')
|
||||
|
||||
pkgver() {
|
||||
cd libclc
|
||||
svnversion | tr -d [A-z]
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd libclc
|
||||
|
||||
# http://www.pcc.me.uk/pipermail/libclc-dev/2014-December/000794.html
|
||||
sed -i "s:metadata ::g" r600/lib/workitem/get_work_dim.ll
|
||||
}
|
||||
|
||||
build() {
|
||||
cd libclc
|
||||
|
||||
sed -i 's/"python < $in >/sys.executable + " < $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"
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue