wok-current annotate lensfun/receipt @ rev 23798
linld: fix argstr (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 23 18:16:52 2020 +0000 (2020-05-23) |
parents | eeba7ab1dffe |
children | 65d7d867e0c1 |
rev | line source |
---|---|
slaxemulator@9587 | 1 # SliTaz package receipt. |
slaxemulator@9587 | 2 |
slaxemulator@9587 | 3 PACKAGE="lensfun" |
Hans-G?nter@21101 | 4 VERSION="0.3.2" |
slaxemulator@9587 | 5 CATEGORY="multimedia" |
Hans-G?nter@21101 | 6 SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database." |
slaxemulator@9587 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15379 | 8 LICENSE="LGPL3 GPL3" |
Hans-G?nter@21101 | 9 WEB_SITE="https://sourceforge.net/projects/lensfun/" |
Hans-G?nter@21101 | 10 |
Hans-G?nter@21101 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21101 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@9587 | 13 |
pascal@15379 | 14 DEPENDS="glib" |
Hans-G?nter@21101 | 15 BUILD_DEPENDS="cmake glib-dev libpng python" |
pascal@15379 | 16 |
slaxemulator@9587 | 17 # Rules to configure and make the package. |
slaxemulator@9587 | 18 compile_rules() |
slaxemulator@9587 | 19 { |
Hans-G?nter@21101 | 20 mkdir build |
Hans-G?nter@21101 | 21 cd build |
Hans-G?nter@21101 | 22 cmake .. \ |
Hans-G?nter@21101 | 23 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21101 | 24 make -j 1 all && |
slaxemulator@9587 | 25 make INSTALL_PREFIX="$DESTDIR" install |
slaxemulator@9587 | 26 } |
slaxemulator@9587 | 27 |
slaxemulator@9587 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9587 | 29 genpkg_rules() |
slaxemulator@9587 | 30 { |
slaxemulator@9587 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
Hans-G?nter@21101 | 32 |
Hans-G?nter@21101 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21101 | 34 cp -a $install/usr/share/lensfun $fs/usr/share |
slaxemulator@9587 | 35 } |