wok rev 21226

updated libgphoto2 and libgphoto2-dev (2.5.14 -> 2.5.22)
author Hans-G?nter Theisgen
date Wed Apr 10 16:53:27 2019 +0100 (2019-04-10)
parents e0e82f52d832
children 7f9039b62d95
files libgphoto2-dev/receipt libgphoto2/receipt
line diff
     1.1 --- a/libgphoto2-dev/receipt	Wed Apr 10 16:22:55 2019 +0100
     1.2 +++ b/libgphoto2-dev/receipt	Wed Apr 10 16:53:27 2019 +0100
     1.3 @@ -1,25 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgphoto2-dev"
     1.7 -VERSION="2.5.14"
     1.8 +VERSION="2.5.22"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="libgphoto2 devel files"
    1.11 +SHORT_DESC="libgphoto2 - development files."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -WANTED="libgphoto2"
    1.15  WEB_SITE="http://www.gphoto.org"
    1.16  
    1.17 -DEPENDS="libgphoto2 libexif-dev libusb-dev pkg-config"
    1.18 +WANTED="libgphoto2"
    1.19 +DEPENDS="libexif-dev libgphoto2 libusb-dev 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 -	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.28 -	cp -a $install/usr/lib/libgphoto2_port $fs/usr/lib/
    1.29 -	
    1.30 -	# rm *.so files
    1.31 +
    1.32 +	cp -a $install/usr/include		$fs/usr
    1.33 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.34 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib/
    1.35 +	cp -a $install/usr/lib/libgphoto2_port	$fs/usr/lib/
    1.36 +
    1.37 +	# remove *.so files
    1.38  	find $fs/usr/lib -name "*.so*" -exec rm -f {} \; 2> /dev/null
    1.39  }
     2.1 --- a/libgphoto2/receipt	Wed Apr 10 16:22:55 2019 +0100
     2.2 +++ b/libgphoto2/receipt	Wed Apr 10 16:53:27 2019 +0100
     2.3 @@ -1,30 +1,31 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libgphoto2"
     2.7 -VERSION="2.5.14"
     2.8 +VERSION="2.5.22"
     2.9  CATEGORY="graphics"
    2.10 -SHORT_DESC="core library of gphoto2 to access photos from digital camera"
    2.11 +TAGS="camera photo"
    2.12 +SHORT_DESC="Core library of gphoto2 to access photos from digital camera."
    2.13  MAINTAINER="jozee@slitaz.org"
    2.14  LICENSE="LGPL2.1"
    2.15 +WEB_SITE="http://www.gphoto.org" 
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.18 -WEB_SITE="http://www.gphoto.org" 
    2.19  WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    2.20 -TAGS="camera photo"
    2.21  
    2.22 -DEPENDS="libexif jpeg libusb libusb-compat libltdl hal"
    2.23 -BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev \
    2.24 -libusb-compat libusb-compat-dev pkg-config"
    2.25 +DEPENDS="hal jpeg libexif libltdl libusb libusb-compat"
    2.26 +BUILD_DEPENDS="jpeg jpeg-dev libexif libexif-dev libtool \
    2.27 +	libusb libusb-compat libusb-compat-dev libusb-dev pkg-config"
    2.28  
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	./configure \
    2.33 -		--prefix=/usr \
    2.34 -		udevscriptdir=/lib/udev \
    2.35 -		--with-exif \
    2.36 -		--disable-static \
    2.37 +	./configure			\
    2.38 +		--prefix=/usr		\
    2.39 +		udevscriptdir=/lib/udev	\
    2.40 +		--with-exif		\
    2.41 +		--disable-static	\
    2.42  		$CONFIGURE_ARGS &&
    2.43 -	make &&
    2.44 +	make -j 1 &&
    2.45  	make install
    2.46  }
    2.47  
    2.48 @@ -37,14 +38,15 @@
    2.49  		$fs/lib \
    2.50  		$fs/usr/share/hal/fdi/information/20thirdparty \
    2.51  		$fs/etc/udev/rules.d
    2.52 -	cp -a $install/usr/bin $fs/usr
    2.53 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    2.54 -	cp -a $install/usr/lib/${PACKAGE}_port $fs/usr/lib
    2.55 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    2.56 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    2.57 -	cp -a $install/lib/udev $fs/lib
    2.58  
    2.59 -	# rm all archive files
    2.60 +	cp -a $install/usr/bin			$fs/usr
    2.61 +	cp -a $install/usr/lib/$PACKAGE		$fs/usr/lib
    2.62 +	cp -a $install/usr/lib/${PACKAGE}_port	$fs/usr/lib
    2.63 +	cp -a $install/usr/lib/*so*		$fs/usr/lib
    2.64 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    2.65 +	cp -a $install/lib/udev			$fs/lib
    2.66 +
    2.67 +	# remove all archive files
    2.68  	find $fs/usr/lib -name "*.*a" -exec rm -f {} \; 2> /dev/null
    2.69  
    2.70  	# fix permissions
    2.71 @@ -77,8 +79,8 @@
    2.72  	fi
    2.73  
    2.74  	echo
    2.75 -	echo "Don't forget to add yourself to group camera to use libgphoto2:"
    2.76 -	echo "    # addgroup tux camera"
    2.77 +	echo "Don't forget to add your user id to group camera to use libgphoto2:"
    2.78 +	echo "    # addgroup <user id> camera"
    2.79  }
    2.80  
    2.81  post_remove()