wok-next diff gphoto2/receipt @ rev 20670

qemu, qemu-light: redefine $install for `configure`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:46:25 2018 +0300 (2018-05-11)
parents a9800ada65e2
children d5aab818505e
line diff
     1.1 --- a/gphoto2/receipt	Sun Nov 19 17:20:01 2017 +0100
     1.2 +++ b/gphoto2/receipt	Fri May 11 14:46:25 2018 +0300
     1.3 @@ -1,29 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gphoto2"
     1.8  VERSION="2.5.15"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="digital camera download and access program"
    1.11 +SHORT_DESC="Digital camera download and access program"
    1.12  MAINTAINER="jozee@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 -WEB_SITE="http://www.gphoto.org" 
    1.18  WGET_URL="$SF_MIRROR/gphoto/$TARBALL"
    1.19 -TAGS="camera photo"
    1.20  
    1.21 -DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses"
    1.22  BUILD_DEPENDS="jpeg-dev libgphoto2-dev readline readline-dev popt popt-dev \
    1.23  libtool"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	./configure $CONFIGURE_ARGS && make && make install
    1.29 +compile_rules() {
    1.30 +	./configure $CONFIGURE_ARGS &&
    1.31 +	fix libtool &&
    1.32 +	make &&
    1.33 +	make install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr/share
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="libexif jpeg libgphoto2 readline popt libltdl ncurses"
    1.44 +	TAGS="camera photo"
    1.45  }