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

Add some LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 18:02:00 2013 +0000 (2013-08-14)
parents 3d4981aca979
children 7105e793369a
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="http://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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/$PACKAGE/*.so $fs/usr/lib/$PACKAGE
34 cp -a $install/usr/share/$PACKAGE $fs/usr/share
35 cp -a $install/usr/share/icons/hicolor/16x16/apps/* $fs/usr/share/pixmaps
37 }