void-packages/srcpkgs/lensfun/template
2015-05-11 09:23:52 +02:00

28 lines
803 B
Bash

# Template file for 'lensfun'
pkgname=lensfun
version=0.3.1
revision=1
build_style=cmake
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://lensfun.sourceforge.net/"
license="LGPL-3"
short_desc="Library to correct optical lens defects and lens database"
hostmakedepends="cmake pkg-config python"
makedepends="libglib-devel"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=216c23754212e051c8b834437e46af3812533bd770c09714e8c06c9d91cdb535
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*);;
*) configure_args+=" -DBUILD_FOR_SSE=0 -DBUILD_FOR_SSE2=0";;
esac
lensfun-devel_package() {
depends="lensfun>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}