void-packages/srcpkgs/lensfun/template

29 lines
885 B
Bash

# Template file for 'lensfun'
pkgname=lensfun
version=0.3.2
revision=2
build_style=cmake
configure_args="-DINSTALL_HELPER_SCRIPTS=0"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://lensfun.sourceforge.net/"
license="LGPL-3, CC-BY-SA-3.0"
short_desc="Library for rectifying and simulating photographic lens distortions"
hostmakedepends="pkg-config python"
makedepends="libglib-devel"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*);;
*) configure_args+=" -DBUILD_FOR_SSE=0 -DBUILD_FOR_SSE2=0";;
esac
lensfun-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}