wok-next view enna/receipt @ rev 13551

syslinux: update c32box/linux
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 02 10:44:52 2012 +0100 (2012-11-02)
parents 1da943e93655
children 1111758c4102
line source
1 # SliTaz package receipt.
3 PACKAGE="enna"
4 VERSION="v0.4.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Enna media center."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://enna.geexbox.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="hg|http://hg.geexbox.org/enna"
11 BRANCH="$VERSION"
12 TAGS="images music video e17"
14 DEPENDS="eina eet ecore evas efreet edje edbus emotion elementary ethumb \
15 libvalhalla libcurl xine-lib libexif alsa-lib libplayer"
16 BUILD_DEPENDS="mercurial automake eina-dev eet-dev ecore-dev evas-dev efreet-dev \
17 edje-dev edbus-dev emotion-dev elementary-dev ethumb-dev libvalhalla-dev curl-dev \
18 xine-lib-dev libexif-dev alsa-lib-dev libplayer-dev libxml2-dev libtool expat-dev \
19 jpeg-dev glib-dev ffmpeg-svn git"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's|curl/types|curl/curl|' src/bin/url_utils.c
26 export CFLAGS="-I/usr/include/edje-1 -I/usr/include/eina-1 \
27 -I/usr/include/eina-1/eina -I/usr/include/evas-1 -I/usr/include/ecore-1 \
28 -I/usr/include/elementary-0 -I/usr/include/eet-1 -I/usr/include/efreet-1 \
29 -I/usr/include/libxml2"
30 ./autogen.sh $CONFIGURE_ARGS &&
31 make -j 1 && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share/enna $fs/usr/share
40 }
42 post_install()
43 {
44 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
45 ln -s $f $(echo $f|sed s/-05/-03/);
46 done
47 }