wok annotate imagination/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 17e313b5b9c1
children 7dd01dedad38
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
pascal@24412 17 # What is the latest version available today?
pascal@24412 18 current_version()
pascal@24412 19 {
pascal@24412 20 wget -O - https://sourceforge.net/projects/imagination/files/ 2>/dev/null | \
pascal@24412 21 sed '/scope="row/!d;/tar/!d;s|.*/imagination-||;s|.tar.*||;q'
pascal@24412 22 }
pascal@24412 23
jozee@2937 24 # Rules to configure and make the package.
jozee@2937 25 compile_rules()
jozee@2937 26 {
jozee@2937 27 cd $src
pascal@17670 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
gokhlayeh@11573 29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
jozee@2937 30 make &&
pascal@10508 31 make DESTDIR=$DESTDIR install
jozee@2937 32
jozee@2937 33 }
jozee@2937 34
jozee@2937 35 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2937 36 genpkg_rules()
jozee@2937 37 {
jozee@2937 38 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
pascal@15075 39 cp -a $install/usr/bin $fs/usr
pascal@15075 40 cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
pascal@15075 41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15075 42 cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
jozee@2937 43
jozee@2937 44 }