wok-6.x rev 21101
updated lensfun and lensfun-dev (0.2.5 -> 0.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 17:49:35 2019 +0100 (2019-03-18) |
parents | 0b7bfd8a64e4 |
children | be8aec6476c2 |
files | lensfun-dev/receipt lensfun/receipt |
line diff
1.1 --- a/lensfun-dev/receipt Mon Mar 18 16:52:08 2019 +0100 1.2 +++ b/lensfun-dev/receipt Mon Mar 18 17:49:35 2019 +0100 1.3 @@ -1,21 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lensfun-dev" 1.7 -VERSION="0.2.5" 1.8 +VERSION="0.3.2" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="devel files for lensfun" 1.11 +SHORT_DESC="Development files for lensfun." 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="LGPL3 GPL3" 1.14 -WEB_SITE="http://lensfun.sourceforge.net/" 1.15 +WEB_SITE="https://sourceforge.net/projects/lensfun/" 1.16 + 1.17 WANTED="lensfun" 1.18 - 1.19 DEPENDS="lensfun pkg-config" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 mkdir -p $fs/usr/lib 1.25 - cp -a $install/usr/include $fs/usr 1.26 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.27 + 1.28 + cp -a $install/usr/include $fs/usr 1.29 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.30 } 1.31 -
2.1 --- a/lensfun/receipt Mon Mar 18 16:52:08 2019 +0100 2.2 +++ b/lensfun/receipt Mon Mar 18 17:49:35 2019 +0100 2.3 @@ -1,24 +1,27 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="lensfun" 2.7 -VERSION="0.2.5" 2.8 +VERSION="0.3.2" 2.9 CATEGORY="multimedia" 2.10 -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" 2.11 +SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database." 2.12 MAINTAINER="slaxemulator@gmail.com" 2.13 LICENSE="LGPL3 GPL3" 2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.15 -WEB_SITE="http://lensfun.sourceforge.net/" 2.16 -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 2.17 +WEB_SITE="https://sourceforge.net/projects/lensfun/" 2.18 + 2.19 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.20 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.21 2.22 DEPENDS="glib" 2.23 -BUILD_DEPENDS="python libpng glib-dev" 2.24 +BUILD_DEPENDS="cmake glib-dev libpng python" 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules() 2.28 { 2.29 - sed -i 's/.*GNU Make*/# &/' configure 2.30 - ./configure --prefix=/usr --libdir=/usr/lib && 2.31 - make all && 2.32 + mkdir build 2.33 + cd build 2.34 + cmake .. \ 2.35 + -DCMAKE_INSTALL_PREFIX=/usr && 2.36 + make -j 1 all && 2.37 make INSTALL_PREFIX="$DESTDIR" install 2.38 } 2.39 2.40 @@ -26,6 +29,7 @@ 2.41 genpkg_rules() 2.42 { 2.43 mkdir -p $fs/usr/lib $fs/usr/share 2.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.45 - cp -a $install/usr/share/lensfun $fs/usr/share 2.46 + 2.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.48 + cp -a $install/usr/share/lensfun $fs/usr/share 2.49 }