mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 16:47:17 +08:00
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.
45 lines
1.2 KiB
Bash
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
|
|
}
|