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