wok-6.x view imagination/receipt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (21 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 }