wok-next view lensfun/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lensfun"
4 VERSION="0.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Database of photographic lenses and a library that allows advanced \
7 access to the database"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="LGPL3 GPL3"
10 WEB_SITE="http://lensfun.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/lensfun/$TARBALL"
15 BUILD_DEPENDS="cmake glib-dev libpng-dev"
16 SPLIT="lenstool $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 case $ARCH in
20 i?86) ARCH_ARGS='-DBUILD_FOR_SSE=off -DBUILD_FOR_SSE2=off';;
21 *) ARCH_ARGS='';;
22 esac
24 mkdir build
25 cd build
26 cmake \
27 -DCMAKE_BUILD_TYPE=Release \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DBUILD_LENSTOOL=on \
30 $ARCH_ARGS \
31 .. &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 lenstool)
39 copy lenstool
40 CAT="multimedia|reference implementation for Lenstool"
41 DEPENDS="glib lensfun libpng"
42 ;;
43 lensfun)
44 copy @std @rm
45 DEPENDS="glib"
46 ;;
47 *-dev)
48 copy @dev
49 DEPENDS="lensfun glib-dev"
50 ;;
51 esac
52 }