wok-6.x diff lensfun/receipt @ rev 24078
gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 16:53:11 2021 +0000 (2021-07-08) |
parents | eeba7ab1dffe |
children | 65d7d867e0c1 |
line diff
1.1 --- a/lensfun/receipt Thu Jan 24 18:16:34 2019 +0100 1.2 +++ b/lensfun/receipt Thu Jul 08 16:53:11 2021 +0000 1.3 @@ -1,24 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lensfun" 1.7 -VERSION="0.2.5" 1.8 +VERSION="0.3.2" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" 1.11 +SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database." 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="LGPL3 GPL3" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WEB_SITE="http://lensfun.sourceforge.net/" 1.16 -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.17 +WEB_SITE="https://sourceforge.net/projects/lensfun/" 1.18 + 1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.21 1.22 DEPENDS="glib" 1.23 -BUILD_DEPENDS="python libpng glib-dev" 1.24 +BUILD_DEPENDS="cmake glib-dev libpng python" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - sed -i 's/.*GNU Make*/# &/' configure 1.30 - ./configure --prefix=/usr --libdir=/usr/lib && 1.31 - make all && 1.32 + mkdir build 1.33 + cd build 1.34 + cmake .. \ 1.35 + -DCMAKE_INSTALL_PREFIX=/usr && 1.36 + make -j 1 all && 1.37 make INSTALL_PREFIX="$DESTDIR" install 1.38 } 1.39 1.40 @@ -26,6 +29,7 @@ 1.41 genpkg_rules() 1.42 { 1.43 mkdir -p $fs/usr/lib $fs/usr/share 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 - cp -a $install/usr/share/lensfun $fs/usr/share 1.46 + 1.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.48 + cp -a $install/usr/share/lensfun $fs/usr/share 1.49 }