wok-6.x annotate enna/receipt @ rev 14165

testdisk: add ntfs3g support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 08:51:27 2013 +0100 (2013-03-08)
parents 1da943e93655
children 1111758c4102
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@12985 28 -I/usr/include/elementary-0 -I/usr/include/eet-1 -I/usr/include/efreet-1 \
pascal@12985 29 -I/usr/include/libxml2"
pascal@12985 30 ./autogen.sh $CONFIGURE_ARGS &&
pascal@12985 31 make -j 1 && make install
pascal@12985 32 }
pascal@12985 33
pascal@12985 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12985 35 genpkg_rules()
pascal@12985 36 {
pascal@12985 37 mkdir -p $fs/usr/share
pascal@12985 38 cp -a $_pkg/usr/bin $fs/usr
pascal@12985 39 cp -a $_pkg/usr/share/enna $fs/usr/share
pascal@12985 40 }
pascal@12985 41
pascal@12985 42 post_install()
pascal@12985 43 {
pascal@12985 44 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
pascal@12985 45 ln -s $f $(echo $f|sed s/-05/-03/);
pascal@12985 46 done
pascal@12985 47 }