wok view lensfun/receipt @ rev 23248
updated nnn (2.9 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 11:33:56 2020 +0100 (2020-03-25) |
parents | eeba7ab1dffe |
children | 65d7d867e0c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lensfun"
4 VERSION="0.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL3 GPL3"
9 WEB_SITE="https://sourceforge.net/projects/lensfun/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glib"
15 BUILD_DEPENDS="cmake glib-dev libpng python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 cd build
22 cmake .. \
23 -DCMAKE_INSTALL_PREFIX=/usr &&
24 make -j 1 all &&
25 make INSTALL_PREFIX="$DESTDIR" install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/share/lensfun $fs/usr/share
35 }