wok-current annotate imagination/receipt @ rev 16703
Add: mplayer-opt: the same as mplayer but with enabled CPU optimizations (MMX, MMX2, SSE, SSE2 and friends).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 28 11:27:38 2014 +0300 (2014-05-28) |
parents | 1ae5963f23df |
children | 17e313b5b9c1 |
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@15276 | 21 export 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 } |