New package: vigra-1.10.0

This commit is contained in:
Enno Boland 2014-10-07 09:14:32 +02:00
parent 138b463f3f
commit 96a1d750f6
4 changed files with 40 additions and 0 deletions

View file

@ -1774,3 +1774,4 @@ libvisio-0.1.so.1 libvisio-0.1.0_1
libwpd-0.10.so.10 libwpd-0.10.0_1
libwps-0.3.so.3 libwps-0.3.0_1
libwpg-0.3.so.3 libwpg-0.3.0_1
libvigraimpex.so.5 vigra-1.10.0_1

1
srcpkgs/vigra-devel Symbolic link
View file

@ -0,0 +1 @@
vigra

1
srcpkgs/vigra-doc Symbolic link
View file

@ -0,0 +1 @@
vigra

37
srcpkgs/vigra/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'vigra'
pkgname=vigra
version=1.10.0
revision=1
build_style=cmake
hostmakedepends="cmake"
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() {
set -x
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"
}
}