wok-6.x view edje/receipt @ rev 7935

tazbb and tazpkg-web: Fix and tiny improvement
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 15:57:00 2011 +0100 (2011-01-11)
parents 6e90579538d6
children 85cd798d6997
line source
1 # SliTaz package receipt.
3 PACKAGE="edje"
4 VERSION="0.9.93.063"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore embryo libcurl openssl xorg-libXss xorg-libXp libtasn1"
9 BUILD_DEPENDS="pkg-config eet evas ecore embryo eet-dev embryo-dev \
10 evas-dev ecore-dev ecore"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.enlightenment.org/"
13 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 chmod 755 $fs/usr/bin/*
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 for i in $fs/usr/lib/*.so ; do
37 [ -L $i ] || continue
38 [ -e $i.0 ] && continue
39 target=$(readlink $i)
40 case "$target" in
41 *.so.0.*) ln -s $target $i.0;;
42 esac
43 done
44 }