# HG changeset patch # User Hans-G?nter Theisgen # Date 1554911607 -3600 # Node ID 0f976ebfd6ad95cb1b5db345c114a72a975b8282 # Parent e0e82f52d832590136bcc0406f280ae36a291740 updated libgphoto2 and libgphoto2-dev (2.5.14 -> 2.5.22) diff -r e0e82f52d832 -r 0f976ebfd6ad libgphoto2-dev/receipt --- a/libgphoto2-dev/receipt Wed Apr 10 16:22:55 2019 +0100 +++ b/libgphoto2-dev/receipt Wed Apr 10 16:53:27 2019 +0100 @@ -1,25 +1,26 @@ # SliTaz package receipt. PACKAGE="libgphoto2-dev" -VERSION="2.5.14" +VERSION="2.5.22" CATEGORY="development" -SHORT_DESC="libgphoto2 devel files" +SHORT_DESC="libgphoto2 - development files." MAINTAINER="jozee@slitaz.org" LICENSE="LGPL2.1" -WANTED="libgphoto2" WEB_SITE="http://www.gphoto.org" -DEPENDS="libgphoto2 libexif-dev libusb-dev pkg-config" +WANTED="libgphoto2" +DEPENDS="libexif-dev libgphoto2 libusb-dev 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/lib/*.*a $fs/usr/lib/ - cp -a $install/usr/lib/libgphoto2_port $fs/usr/lib/ - - # rm *.so files + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib/ + cp -a $install/usr/lib/libgphoto2_port $fs/usr/lib/ + + # remove *.so files find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null } diff -r e0e82f52d832 -r 0f976ebfd6ad libgphoto2/receipt --- a/libgphoto2/receipt Wed Apr 10 16:22:55 2019 +0100 +++ b/libgphoto2/receipt Wed Apr 10 16:53:27 2019 +0100 @@ -1,30 +1,31 @@ # SliTaz package receipt. PACKAGE="libgphoto2" -VERSION="2.5.14" +VERSION="2.5.22" CATEGORY="graphics" -SHORT_DESC="core library of gphoto2 to access photos from digital camera" +TAGS="camera photo" +SHORT_DESC="Core library of gphoto2 to access photos from digital camera." MAINTAINER="jozee@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://www.gphoto.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gphoto.org" WGET_URL="$SF_MIRROR/gphoto/$TARBALL" -TAGS="camera photo" -DEPENDS="libexif jpeg libusb libusb-compat libltdl hal" -BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev \ -libusb-compat libusb-compat-dev pkg-config" +DEPENDS="hal jpeg libexif libltdl libusb libusb-compat" +BUILD_DEPENDS="jpeg jpeg-dev libexif libexif-dev libtool \ + libusb libusb-compat libusb-compat-dev libusb-dev pkg-config" # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - udevscriptdir=/lib/udev \ - --with-exif \ - --disable-static \ + ./configure \ + --prefix=/usr \ + udevscriptdir=/lib/udev \ + --with-exif \ + --disable-static \ $CONFIGURE_ARGS && - make && + make -j 1 && make install } @@ -37,14 +38,15 @@ $fs/lib \ $fs/usr/share/hal/fdi/information/20thirdparty \ $fs/etc/udev/rules.d - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/$PACKAGE $fs/usr/lib - cp -a $install/usr/lib/${PACKAGE}_port $fs/usr/lib - cp -a $install/usr/lib/*so* $fs/usr/lib - cp -a $install/usr/share/$PACKAGE $fs/usr/share - cp -a $install/lib/udev $fs/lib - # rm all archive files + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/$PACKAGE $fs/usr/lib + cp -a $install/usr/lib/${PACKAGE}_port $fs/usr/lib + cp -a $install/usr/lib/*so* $fs/usr/lib + cp -a $install/usr/share/$PACKAGE $fs/usr/share + cp -a $install/lib/udev $fs/lib + + # remove all archive files find $fs/usr/lib -name "*.*a" -exec rm -f {} \; 2> /dev/null # fix permissions @@ -77,8 +79,8 @@ fi echo - echo "Don't forget to add yourself to group camera to use libgphoto2:" - echo " # addgroup tux camera" + echo "Don't forget to add your user id to group camera to use libgphoto2:" + echo " # addgroup camera" } post_remove()