wok-next annotate lensfun/receipt @ rev 21126

Hide more packages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 18 02:36:44 2019 +0200 (2019-01-18)
parents d5aab818505e
children
rev   line source
al@20464 1 # SliTaz package receipt v2.
slaxemulator@9587 2
slaxemulator@9587 3 PACKAGE="lensfun"
al@20700 4 VERSION="0.3.2"
slaxemulator@9587 5 CATEGORY="multimedia"
al@20464 6 SHORT_DESC="Database of photographic lenses and a library that allows advanced \
al@20464 7 access to the database"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15379 9 LICENSE="LGPL3 GPL3"
al@20700 10 WEB_SITE="http://lensfun.sourceforge.net/"
al@20464 11
al@20700 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20700 13 WGET_URL="$SF_MIRROR/lensfun/$TARBALL"
slaxemulator@9587 14
al@21078 15 BUILD_DEPENDS="cmake glib-dev libpng-dev"
al@21020 16 SPLIT="lenstool $PACKAGE $PACKAGE-dev"
pascal@15379 17
al@20464 18 compile_rules() {
al@20700 19 case $ARCH in
al@20700 20 i?86) ARCH_ARGS='-DBUILD_FOR_SSE=off -DBUILD_FOR_SSE2=off';;
al@20700 21 *) ARCH_ARGS='';;
al@20700 22 esac
al@20700 23
al@20700 24 mkdir build
al@20700 25 cd build
al@20700 26 cmake \
al@20700 27 -DCMAKE_BUILD_TYPE=Release \
al@20700 28 -DCMAKE_INSTALL_PREFIX=/usr \
al@20700 29 -DBUILD_LENSTOOL=on \
al@20700 30 $ARCH_ARGS \
al@20700 31 .. &&
al@20700 32 make &&
al@20700 33 make install
slaxemulator@9587 34 }
slaxemulator@9587 35
al@20464 36 genpkg_rules() {
al@20464 37 case $PACKAGE in
al@20700 38 lenstool)
al@20700 39 copy lenstool
al@20700 40 CAT="multimedia|reference implementation for Lenstool"
al@21078 41 DEPENDS="glib lensfun libpng"
al@20700 42 ;;
al@20464 43 lensfun)
al@20700 44 copy @std @rm
al@20464 45 DEPENDS="glib"
al@20464 46 ;;
al@20464 47 *-dev)
al@20464 48 copy @dev
al@20700 49 DEPENDS="lensfun glib-dev"
al@20464 50 ;;
al@20464 51 esac
slaxemulator@9587 52 }