wok-next view enna/receipt @ rev 14319
Down webkit-r (99690) don't need gcc 4.7
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 07 20:34:59 2013 +0200 (2013-04-07) |
parents | 1b4cdedef952 |
children | b541f38cb759 |
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-1 -I/usr/include/eet-1 -I/usr/include/efreet-1 \
29 -I/usr/include/e_dbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include \
30 -I/usr/include/ethumb-1 \
31 -I/usr/include/libxml2"
32 ./autogen.sh $CONFIGURE_ARGS &&
33 make -j 1 && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/share/enna $fs/usr/share
42 }
44 post_install()
45 {
46 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
47 ln -s $f $(echo $f|sed s/-05/-03/);
48 done
49 }