wok-6.x annotate imagination/receipt @ rev 19371

ppp: remove pppnc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:46:12 2016 +0200 (2016-08-09)
parents 7105e793369a
children ba7cbdb5749c
rev   line source
jozee@2937 1 # SliTaz package receipt.
jozee@2937 2
jozee@2937 3 PACKAGE="imagination"
jozee@2937 4 VERSION="1.0"
jozee@2937 5 CATEGORY="graphics"
jozee@2937 6 SHORT_DESC="lightweight and simple GTK+ DVD slideshow maker"
jozee@2937 7 MAINTAINER="jozee@slitaz.org"
pascal@15075 8 LICENSE="GPL2"
jozee@2937 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2937 10 WEB_SITE="http://imagination.sourceforge.net/"
jozee@2937 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@2937 12 TAGS="slideshow photo"
jozee@2937 13
pascal@15075 14 DEPENDS="gtk+ ffmpeg"
pascal@15075 15 BUILD_DEPENDS="intltool ffmpeg gtk+-dev"
jozee@2937 16
jozee@2937 17 # Rules to configure and make the package.
jozee@2937 18 compile_rules()
jozee@2937 19 {
jozee@2937 20 cd $src
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
gokhlayeh@11573 22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
jozee@2937 23 make &&
pascal@10508 24 make DESTDIR=$DESTDIR install
jozee@2937 25
jozee@2937 26 }
jozee@2937 27
jozee@2937 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2937 29 genpkg_rules()
jozee@2937 30 {
jozee@2937 31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
pascal@15075 32 cp -a $install/usr/bin $fs/usr
pascal@15075 33 cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
pascal@15075 34 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15075 35 cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
jozee@2937 36
jozee@2937 37 }