2014-05-02 11:33:45 +02:00
|
|
|
# Template file for 'lensfun'
|
|
|
|
pkgname=lensfun
|
2014-11-24 15:52:32 +01:00
|
|
|
version=0.3.0
|
|
|
|
revision=1
|
2014-05-02 11:33:45 +02:00
|
|
|
build_style=cmake
|
2014-10-27 18:05:31 +01:00
|
|
|
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
2014-05-02 11:33:45 +02:00
|
|
|
homepage="http://lensfun.sourceforge.net/"
|
2014-11-24 15:52:32 +01:00
|
|
|
license="LGPL-3"
|
2014-05-02 11:54:47 +02:00
|
|
|
short_desc="Library to correct optical lens defects and lens database"
|
2014-05-02 11:33:45 +02:00
|
|
|
hostmakedepends="cmake pkg-config"
|
|
|
|
makedepends="glib-devel"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
2014-11-24 15:52:32 +01:00
|
|
|
checksum="c2c3c03873cb549d49d42f118fcb0ffa95d1e45b9ff395e19facb63bf699bec1"
|
2014-05-02 11:33:45 +02:00
|
|
|
|
2014-11-24 17:27:06 +01:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*);;
|
|
|
|
*) configure_args+=" -DBUILD_FOR_SSE=0 -DBUILD_FOR_SSE2=0";;
|
|
|
|
esac
|
|
|
|
|
2014-05-02 11:33:45 +02:00
|
|
|
lensfun-devel_package() {
|
2014-05-02 11:54:47 +02:00
|
|
|
depends="lensfun>=${version}_${revision}"
|
2014-05-02 11:33:45 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-02 11:54:47 +02:00
|
|
|
vmove usr/lib/*.so
|
2014-05-02 11:33:45 +02:00
|
|
|
}
|
2014-05-02 11:54:47 +02:00
|
|
|
}
|