void-packages/srcpkgs/lensfun/template

29 lines
815 B
Plaintext

# Template file for 'lensfun'
pkgname=lensfun
version=0.3.0
revision=1
build_style=cmake
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://lensfun.sourceforge.net/"
license="LGPL-3"
short_desc="Library to correct optical lens defects and lens database"
hostmakedepends="cmake pkg-config"
makedepends="glib-devel"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum="c2c3c03873cb549d49d42f118fcb0ffa95d1e45b9ff395e19facb63bf699bec1"
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
}
}