wok-current view enna/receipt @ rev 14328
Up: enlightenment (0.17.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:23:54 2013 +0200 (2013-04-12) |
parents | 1111758c4102 |
children | 2567502dd183 |
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/Elm_Genlist_Item /Elm_Genlist_Item_Type /g' src/bin/*.[hc]
26 sed -i 's|curl/types|curl/curl|' src/bin/url_utils.c
27 export CFLAGS="-I/usr/include/edje-1 -I/usr/include/eina-1 \
28 -I/usr/include/eina-1/eina -I/usr/include/evas-1 -I/usr/include/ecore-1 \
29 -I/usr/include/elementary-1 -I/usr/include/eet-1 -I/usr/include/efreet-1 \
30 -I/usr/include/e_dbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include \
31 -I/usr/include/ethumb-1 \
32 -I/usr/include/libxml2"
33 ./autogen.sh $CONFIGURE_ARGS &&
34 make -j 1 && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/share/enna $fs/usr/share
43 }
45 post_install()
46 {
47 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
48 ln -s $f $(echo $f|sed s/-05/-03/);
49 done
50 }