# HG changeset patch # User Hans-G?nter Theisgen # Date 1552927775 -3600 # Node ID a1e9a41ba0286aed5d69d46e432e969ea7f03116 # Parent 0b7bfd8a64e4a78213eb599caf14d67a4fc45d60 updated lensfun and lensfun-dev (0.2.5 -> 0.3.2) diff -r 0b7bfd8a64e4 -r a1e9a41ba028 lensfun-dev/receipt --- a/lensfun-dev/receipt Mon Mar 18 16:52:08 2019 +0100 +++ b/lensfun-dev/receipt Mon Mar 18 17:49:35 2019 +0100 @@ -1,21 +1,21 @@ # SliTaz package receipt. PACKAGE="lensfun-dev" -VERSION="0.2.5" +VERSION="0.3.2" CATEGORY="development" -SHORT_DESC="devel files for lensfun" +SHORT_DESC="Development files for lensfun." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL3 GPL3" -WEB_SITE="http://lensfun.sourceforge.net/" +WEB_SITE="https://sourceforge.net/projects/lensfun/" + WANTED="lensfun" - DEPENDS="lensfun pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } - diff -r 0b7bfd8a64e4 -r a1e9a41ba028 lensfun/receipt --- a/lensfun/receipt Mon Mar 18 16:52:08 2019 +0100 +++ b/lensfun/receipt Mon Mar 18 17:49:35 2019 +0100 @@ -1,24 +1,27 @@ # SliTaz package receipt. PACKAGE="lensfun" -VERSION="0.2.5" +VERSION="0.3.2" CATEGORY="multimedia" -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" +SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL3 GPL3" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://lensfun.sourceforge.net/" -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" +WEB_SITE="https://sourceforge.net/projects/lensfun/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="glib" -BUILD_DEPENDS="python libpng glib-dev" +BUILD_DEPENDS="cmake glib-dev libpng python" # Rules to configure and make the package. compile_rules() { - sed -i 's/.*GNU Make*/# &/' configure - ./configure --prefix=/usr --libdir=/usr/lib && - make all && + mkdir build + cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr && + make -j 1 all && make INSTALL_PREFIX="$DESTDIR" install } @@ -26,6 +29,7 @@ genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/lensfun $fs/usr/share + + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/lensfun $fs/usr/share }