wok annotate enna/receipt @ rev 9226

Up: mercurial to 1.8.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 11 15:13:27 2011 +0000 (2011-03-11)
parents 84b620628dcf
children d167cab29f00
rev   line source
pankso@4768 1 # SliTaz package receipt.
pankso@4768 2
pankso@4768 3 PACKAGE="enna"
gokhlayeh@8599 4 VERSION="0.4.0"
pankso@4768 5 CATEGORY="multimedia"
pankso@4768 6 SHORT_DESC="Enna media center."
pankso@4768 7 MAINTAINER="pankso@slitaz.org"
pascal@5026 8 DEPENDS="eet evas ecore edje emotion eina libplayer libvalhalla libelementary libcurl elementary efreet lirc libcddb edbus sqlite libtasn1"
pankso@4768 9 BUILD_DEPENDS="$DEPENDS eet-dev evas-dev ecore-dev edje-dev emotion-dev eina-dev \
gokhlayeh@8599 10 libplayer-dev libvalhalla-dev libelementary elementary-dev curl-dev"
gokhlayeh@8599 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4768 12 WEB_SITE="http://enna.geexbox.org/"
gokhlayeh@8599 13 WGET_URL="http://enna.geexbox.org/releases/$TARBALL"
pankso@4768 14 TAGS="images music video e17"
pankso@4768 15
pankso@4768 16 # Rules to configure and make the package.
pankso@4768 17 compile_rules()
pankso@4768 18 {
pankso@4768 19 cd $src
pankso@4768 20 ./configure \
pankso@4768 21 --prefix=/usr \
pankso@4768 22 $CONFIGURE_ARGS &&
pankso@4768 23 make &&
pankso@4768 24 make DESTDIR=$PWD/_pkg install
pankso@4768 25 }
pankso@4768 26
pankso@4768 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4768 28 genpkg_rules()
pankso@4768 29 {
pankso@4768 30 mkdir -p $fs/usr/share
pankso@4768 31 cp -a $_pkg/usr/bin $fs/usr
pankso@4768 32 cp -a $_pkg/usr/share/enna $fs/usr/share
pankso@4768 33 }
gokhlayeh@8599 34
gokhlayeh@8599 35 post_install()
gokhlayeh@8599 36 {
gokhlayeh@8599 37 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
gokhlayeh@8599 38 ln -s $f $(echo $f|sed s/-05/-03/);
gokhlayeh@8599 39 done
gokhlayeh@8599 40 }