core/vigra/PKGBUILD
Samir 348d542db8 libpng group: update/rebuild platform
will commit them separately next time... it's just too much work to do separate commits right now
2013-07-27 16:51:03 +00:00

42 lines
1.1 KiB
Bash

#
# Chakra Packages, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=vigra
pkgver=1.9.0
pkgrel=1
pkgdesc="Computer vision library"
arch=('x86_64')
url="http://hci.iwr.uni-heidelberg.de/vigra/"
license=('custom:MIT')
depends=('libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5' 'fftw')
makedepends=('cmake' 'python2-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy')
optdepends=('python2: for python bindings'
'boost-libs: for python bindings')
options=('!libtool')
source=("http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${pkgname}-${pkgver}-src.tar.gz")
sha1sums=('6e4981f4ce75932ec62df6523f577c327f885ba0')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DWITH_VIGRANUMPY=0 \
-DDOCINSTALL=share/doc
make
}
check() {
cd "${srcdir}"/${pkgname}-${pkgver}
make -k check || /bin/true
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# license
install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}