summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3274c9ca6ae..89782880438 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,24 @@
pkgname=vxl
-pkgver=1.17
+pkgver=2.0.2
pkgrel=1
pkgdesc="VXL library. The geometry and imaging core libraries are turned off in order to build successfully. "
arch=('i686' 'x86_64')
-url='http://vxl.sourceforge.net/'
+url='https://github.com/vxl/vxl'
depends=('cmake')
-source=(http://excellmedia.dl.sourceforge.net/project/vxl/vxl/$pkgver/vxl-$pkgver.0.tar.gz)
-md5sums=('cf71031dee80f92e6649c4faa2d485b5')
+source=(https://github.com/vxl/vxl/archive/v${pkgver}.tar.gz)
+md5sums=('24fb616a55c885e821c9a049ae1b23ed')
build() {
- cd "$srcdir/vxl-$pkgver.0"
- sed -i 's/error "Dunno about this gcc"/define VCL_GCC_41/g' vcl/vcl_compiler.h
+ cd "$srcdir/vxl-${pkgver}"
mkdir -p build
cd build
- cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-std=c++98 -DGNU_LIBSTDCXX_V3 -w" -DBUILD_CORE_GEOMETRY=OFF -DBUILD_CORE_IMAGING=OFF ..
+ cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON ..
ncores=$(grep -c '^processor' /proc/cpuinfo)
make -j$ncores
}
package() {
- cd "$srcdir/vxl-$pkgver.0/build"
+ cd "$srcdir/vxl-${pkgver}/build"
make DESTDIR="$pkgdir" install
}