wok-stable view enna/receipt @ rev 8554

imported patch get/firefox-langpack-zh_CN
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 6e90579538d6
children 84b620628dcf
line source
1 # SliTaz package receipt.
3 PACKAGE="enna"
4 VERSION="0.4.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Enna media center."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore edje emotion eina libplayer libvalhalla libelementary libcurl elementary efreet lirc libcddb edbus sqlite libtasn1"
9 BUILD_DEPENDS="$DEPENDS eet-dev evas-dev ecore-dev edje-dev emotion-dev eina-dev \
10 libplayer-dev libvalhalla-dev libelementary elementary-dev curl-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://enna.geexbox.org/"
13 WGET_URL="http://enna.geexbox.org/releases/$TARBALL"
14 TAGS="images music video e17"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/enna $fs/usr/share
33 }
35 post_install()
36 {
37 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
38 ln -s $f $(echo $f|sed s/-05/-03/);
39 done
40 }