mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +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.7.0
|
|
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/158/Vc-${pkgver}.tar.gz")
|
|
md5sums=('8b92e140e0a8c474f5b7c7c98c175a8c')
|
|
|
|
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
|
|
}
|
|
|