wok-current annotate enna/receipt @ rev 5323
Added get-prince
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Apr 23 00:46:08 2010 +0000 (2010-04-23) |
parents | 6e90579538d6 |
children | 84b620628dcf |
rev | line source |
---|---|
pankso@4768 | 1 # SliTaz package receipt. |
pankso@4768 | 2 |
pankso@4768 | 3 PACKAGE="enna" |
pankso@4768 | 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 \ |
pankso@4768 | 10 libplayer-dev libvalhalla-dev libelementary elementary-dev curl-dev" |
pankso@4768 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4768 | 12 WEB_SITE="http://enna.geexbox.org/" |
pankso@4768 | 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 } |
jozee@4961 | 34 |
jozee@4961 | 35 post_install() |
jozee@4961 | 36 { |
jozee@4961 | 37 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do |
jozee@4961 | 38 ln -s $f $(echo $f|sed s/-05/-03/); |
jozee@4961 | 39 done |
jozee@4961 | 40 } |