wok view imagination/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents ba7cbdb5749c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="imagination"
4 VERSION="1.0"
5 CATEGORY="graphics"
6 SHORT_DESC="lightweight and simple GTK+ DVD slideshow maker"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://imagination.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="slideshow photo"
14 DEPENDS="gtk+ ffmpeg"
15 BUILD_DEPENDS="intltool ffmpeg gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/imagination/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/imagination-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
42 cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
44 }