core/vigra/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 95246b57f5 Removed python-numeric, which was replaced by python-numpy.
Removed larch, larch-live and liblarch, replaced by Chakra’s a-setup.sh script.
python2-cairo 1.10.0
python2-gobject 2.28.6
python2-crypto 2.6
python2-zope-interface 4.0.1
python2-twisted 12.2.0
python2-nose 1.2.1
python2-urwid 1.1.0
Rebuilt because of time reasons: python2-imaging, qt-assistant-compat.
2012-11-10 23:53:31 +01:00

45 lines
1.2 KiB
Bash

#
# Chakra Packages, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=vigra
pkgver=1.8.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"
'vigra-1.7.1.gcc460.patch')
md5sums=('15c5544448e529ee60020758ab6be264'
'25ef8bc26bc38ee67e5b512d2acd0166')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/vigra-1.7.1.gcc460.patch
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
}