rev |
line source |
pankso@4768
|
1 # SliTaz package receipt.
|
pankso@4768
|
2
|
pankso@4768
|
3 PACKAGE="enna"
|
gokhlayeh@9229
|
4 VERSION="v0.4.1"
|
pankso@4768
|
5 CATEGORY="multimedia"
|
pankso@4768
|
6 SHORT_DESC="Enna media center."
|
pankso@4768
|
7 MAINTAINER="pankso@slitaz.org"
|
gokhlayeh@9229
|
8 DEPENDS="eet evas ecore edje eina libplayer libvalhalla libcurl efreet \
|
gokhlayeh@9231
|
9 lirc libcddb edbus sqlite libtasn1 libxdg-basedir libxml2 udev elementary"
|
gokhlayeh@9229
|
10 BUILD_DEPENDS="curl mercurial automake"
|
pankso@4768
|
11 WEB_SITE="http://enna.geexbox.org/"
|
gokhlayeh@9229
|
12 WGET_URL="mercurial|http://hg.geexbox.org/enna"
|
gokhlayeh@9229
|
13 BRANCH="$VERSION"
|
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
|
gokhlayeh@9229
|
20 ./autogen.sh &&
|
pankso@4768
|
21 make &&
|
gokhlayeh@9229
|
22 make install
|
pankso@4768
|
23 }
|
pankso@4768
|
24
|
pankso@4768
|
25 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@4768
|
26 genpkg_rules()
|
pankso@4768
|
27 {
|
pankso@4768
|
28 mkdir -p $fs/usr/share
|
pankso@4768
|
29 cp -a $_pkg/usr/bin $fs/usr
|
pankso@4768
|
30 cp -a $_pkg/usr/share/enna $fs/usr/share
|
pankso@4768
|
31 }
|
gokhlayeh@8599
|
32
|
gokhlayeh@8599
|
33 post_install()
|
gokhlayeh@8599
|
34 {
|
gokhlayeh@8599
|
35 for f in $(find /usr/lib/ -name "*ver-svn-05*" ! -path */enlightenment/*); do
|
gokhlayeh@8599
|
36 ln -s $f $(echo $f|sed s/-05/-03/);
|
gokhlayeh@8599
|
37 done
|
gokhlayeh@8599
|
38 }
|