wok-next diff imagination/receipt @ rev 20936

Update cmake
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 24 15:44:57 2018 +0300 (2018-08-24)
parents 17e313b5b9c1
children f48456621a9d
line diff
     1.1 --- a/imagination/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/imagination/receipt	Fri Aug 24 15:44:57 2018 +0300
     1.3 @@ -1,37 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="imagination"
     1.8  VERSION="1.0"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="lightweight and simple GTK+ DVD slideshow maker"
    1.11 +SHORT_DESC="Lightweight and simple GTK+ DVD slideshow maker"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://imagination.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://imagination.sourceforge.net/" 
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="slideshow photo"
    1.20  
    1.21 -DEPENDS="gtk+ ffmpeg"
    1.22  BUILD_DEPENDS="intltool ffmpeg gtk+-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -   	cd $src
    1.28 +compile_rules() {
    1.29  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
    1.30 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.31 +
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33 +	fix libtool &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36 -	
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -    mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
    1.45 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.46 -	cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
    1.47 -	
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="gtk+ ffmpeg"
    1.51 +	TAGS="slideshow photo"
    1.52  }