wok diff libgphoto2/receipt @ rev 22009

updated task (2.3.0 -> 2.5.1)
author Hans-G?nter Theisgen
date Sat Oct 19 15:10:30 2019 +0100 (2019-10-19)
parents 8897c7156a03
children 9613ce9a98f2
line diff
     1.1 --- a/libgphoto2/receipt	Sun Jun 18 19:23:12 2017 +0200
     1.2 +++ b/libgphoto2/receipt	Sat Oct 19 15:10:30 2019 +0100
     1.3 @@ -1,30 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgphoto2"
     1.7 -VERSION="2.5.14"
     1.8 +VERSION="2.5.22"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="core library of gphoto2 to access photos from digital camera"
    1.11 +TAGS="camera photo"
    1.12 +SHORT_DESC="Core library of gphoto2 to access photos from digital camera."
    1.13  MAINTAINER="jozee@slitaz.org"
    1.14  LICENSE="LGPL2.1"
    1.15 +WEB_SITE="http://www.gphoto.org" 
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.gphoto.org" 
    1.19  WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    1.20 -TAGS="camera photo"
    1.21  
    1.22 -DEPENDS="libexif jpeg libusb libusb-compat libltdl hal"
    1.23 -BUILD_DEPENDS="jpeg-dev libexif-dev libtool libexif jpeg libusb libusb-dev \
    1.24 -libusb-compat libusb-compat-dev pkg-config"
    1.25 +DEPENDS="hal jpeg libexif libltdl libusb libusb-compat"
    1.26 +BUILD_DEPENDS="jpeg jpeg-dev libexif libexif-dev libtool \
    1.27 +	libusb libusb-compat libusb-compat-dev libusb-dev pkg-config"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		udevscriptdir=/lib/udev \
    1.35 -		--with-exif \
    1.36 -		--disable-static \
    1.37 +	./configure			\
    1.38 +		--prefix=/usr		\
    1.39 +		udevscriptdir=/lib/udev	\
    1.40 +		--with-exif		\
    1.41 +		--disable-static	\
    1.42  		$CONFIGURE_ARGS &&
    1.43 -	make &&
    1.44 +	make -j 1 &&
    1.45  	make install
    1.46  }
    1.47  
    1.48 @@ -37,14 +38,15 @@
    1.49  		$fs/lib \
    1.50  		$fs/usr/share/hal/fdi/information/20thirdparty \
    1.51  		$fs/etc/udev/rules.d
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    1.54 -	cp -a $install/usr/lib/${PACKAGE}_port $fs/usr/lib
    1.55 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.56 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.57 -	cp -a $install/lib/udev $fs/lib
    1.58  
    1.59 -	# rm all archive files
    1.60 +	cp -a $install/usr/bin			$fs/usr
    1.61 +	cp -a $install/usr/lib/$PACKAGE		$fs/usr/lib
    1.62 +	cp -a $install/usr/lib/${PACKAGE}_port	$fs/usr/lib
    1.63 +	cp -a $install/usr/lib/*so*		$fs/usr/lib
    1.64 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.65 +	cp -a $install/lib/udev			$fs/lib
    1.66 +
    1.67 +	# remove all archive files
    1.68  	find $fs/usr/lib -name "*.*a" -exec rm -f {} \; 2> /dev/null
    1.69  
    1.70  	# fix permissions
    1.71 @@ -77,8 +79,8 @@
    1.72  	fi
    1.73  
    1.74  	echo
    1.75 -	echo "Don't forget to add yourself to group camera to use libgphoto2:"
    1.76 -	echo "    # addgroup tux camera"
    1.77 +	echo "Don't forget to add your user id to group camera to use libgphoto2:"
    1.78 +	echo "    # addgroup <user id> camera"
    1.79  }
    1.80  
    1.81  post_remove()