mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 11:37:13 +08:00
37 lines
741 B
Bash
37 lines
741 B
Bash
|
#
|
||
|
# Platform Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer abveritas@chakra-project.org
|
||
|
# contributor Andrea Scarpino <andrea@archlinux.org>
|
||
|
|
||
|
pkgname=vc
|
||
|
pkgver=0.6.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="A library to ease explicit vectorization of C++ code"
|
||
|
url='http://code.compeng.uni-frankfurt.de/projects/vc/'
|
||
|
arch=('x86_64')
|
||
|
license=('LGPL3')
|
||
|
makedepends=('cmake')
|
||
|
source=("http://code.compeng.uni-frankfurt.de/attachments/download/147/Vc-${pkgver}.tar.gz")
|
||
|
md5sums=('8b9885b58872a11131d2818ec54f838a')
|
||
|
|
||
|
build() {
|
||
|
mkdir build
|
||
|
cd build
|
||
|
cmake ../Vc-${pkgver} \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_BUILD_TYPE=Release
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd build
|
||
|
make test
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|
||
|
|