2014-10-07 07:14:32 +00:00
|
|
|
# Template file for 'vigra'
|
|
|
|
pkgname=vigra
|
|
|
|
version=1.10.0
|
2014-10-10 09:24:17 +00:00
|
|
|
revision=2
|
2014-10-07 07:14:32 +00:00
|
|
|
build_style=cmake
|
2014-10-10 09:24:17 +00:00
|
|
|
hostmakedepends="cmake python"
|
|
|
|
makedepends="libpng-devel tiff-devel libjpeg-turbo-devel zlib-devel fftw-devel
|
2014-10-10 09:29:34 +00:00
|
|
|
boost-devel"
|
2014-10-07 07:14:32 +00:00
|
|
|
short_desc="Image processing and analysis library"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://ukoethe.github.io/vigra/"
|
|
|
|
distfiles="https://github.com/ukoethe/vigra/releases/download/Version-${version//./-}/vigra-${version}-src-with-docu.tar.gz"
|
|
|
|
checksum=42d4a361b0bb52fbfdae7e76000698be04dabba77be3f4248d369139fe96a099
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/$pkgname
|
|
|
|
mv $DESTDIR/usr/doc $DESTDIR/usr/share/$pkgname/doc
|
|
|
|
}
|
|
|
|
|
|
|
|
vigra-doc_package() {
|
|
|
|
depends="vigra>=${version}_${revision}"
|
|
|
|
short_desc+=" - documentation"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/vigra/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vigra-devel_package() {
|
|
|
|
depends="vigra>=${version}_${revision} $makedepends"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/vigra
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|