wok-next rev 21700

updated gphoto2 (2.5.15 -> 2.5.23)
author Hans-G?nter Theisgen
date Tue Jun 30 17:45:45 2020 +0100 (2020-06-30)
parents 5befc219d484
children 3d4e98fbfbed
files gphoto2/receipt
line diff
     1.1 --- a/gphoto2/receipt	Tue Jun 30 17:33:51 2020 +0100
     1.2 +++ b/gphoto2/receipt	Tue Jun 30 17:45:45 2020 +0100
     1.3 @@ -1,28 +1,39 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gphoto2"
     1.7 -VERSION="2.5.15"
     1.8 +VERSION="2.5.23"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Digital camera download and access program"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.gphoto.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="jpeg-dev libgphoto2-dev readline readline-dev popt popt-dev \
    1.20 -libtool"
    1.21 +BUILD_DEPENDS="jpeg-dev libgphoto2-dev libtool popt popt-dev 
    1.22 +	readline readline-dev"
    1.23 +SPLIT="$PACKAGE-lang"
    1.24  
    1.25 -compile_rules() {
    1.26 +compile_rules()
    1.27 +{
    1.28  	./configure $CONFIGURE_ARGS &&
    1.29  	fix libtool &&
    1.30  	make &&
    1.31  	make install
    1.32  }
    1.33  
    1.34 -genpkg_rules() {
    1.35 -	copy @std
    1.36 -	DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses"
    1.37 -	TAGS="camera photo"
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	case $PACKAGE in
    1.41 +		(gphoto2)
    1.42 +			copy @std
    1.43 +			DEPENDS="jpeg libexif libgphoto2 libltdl ncurses popt readline"
    1.44 +			TAGS="camera photo"
    1.45 +			;;
    1.46 +		(*-lang)
    1.47 +			mkdir -p $fs/usr/share
    1.48 +			cp -a $install/usr/share/locale	$fs/usr/share
    1.49 +			;;
    1.50 +	esac
    1.51  }