wok-6.x diff libgphoto2/receipt @ rev 23917
created recipes for lua-ffi and lua-posix
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 19 09:11:10 2020 +0100 (2020-08-19) |
parents | 0f976ebfd6ad |
children | 65d7d867e0c1 |
line diff
1.1 --- a/libgphoto2/receipt Wed Apr 10 16:53:27 2019 +0100 1.2 +++ b/libgphoto2/receipt Wed Aug 19 09:11:10 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libgphoto2" 1.7 -VERSION="2.5.22" 1.8 +VERSION="2.5.24" 1.9 CATEGORY="graphics" 1.10 TAGS="camera photo" 1.11 SHORT_DESC="Core library of gphoto2 to access photos from digital camera." 1.12 @@ -19,11 +19,12 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - ./configure \ 1.17 - --prefix=/usr \ 1.18 - udevscriptdir=/lib/udev \ 1.19 - --with-exif \ 1.20 - --disable-static \ 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + udevscriptdir=/lib/udev \ 1.24 + --with-camlibs=everything \ 1.25 + --with-exif \ 1.26 + --disable-static \ 1.27 $CONFIGURE_ARGS && 1.28 make -j 1 && 1.29 make install 1.30 @@ -50,8 +51,8 @@ 1.31 find $fs/usr/lib -name "*.*a" -exec rm -f {} \; 2> /dev/null 1.32 1.33 # fix permissions 1.34 - chmod +x $fs/lib/udev/check* 1.35 - chmod +x $fs/usr/bin/gphoto2* 1.36 + chmod +x $fs/lib/udev/check* 1.37 + chmod +x $fs/usr/bin/gphoto2* 1.38 } 1.39 1.40 post_install() 1.41 @@ -74,7 +75,8 @@ 1.42 tazpkg reconfigure udev --root="$1" 1.43 1.44 # add group camera 1.45 - if ! grep -q camera "$1/etc/group"; then 1.46 + if ! grep -q camera "$1/etc/group" 1.47 + then 1.48 chroot "$1/" addgroup -g 97 camera 1.49 fi 1.50