wok-next view evas/receipt @ rev 4377
alpine: link shared libs (again)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Oct 12 21:05:53 2009 +0000 (2009-10-12) |
parents | 236a47acb6f7 |
children | f99c07c038f7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="0.9.9.062"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat fontconfig freetype jpeg libpng tiff xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender eet openssl fribidi"
10 BUILD_DEPENDS="xorg-libX11-dev eet-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.enlightenment.org/"
13 WGET_URL="http://download.enlightenment.org/snapshots/2009-07-29/$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/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/evas $fs/usr/lib
34 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
35 for i in $fs/usr/lib/*.so ; do
36 [ -L $i ] || continue
37 [ -e $i.0 ] && continue
38 target=$(readlink $i)
39 case "$target" in
40 *.so.0.*) ln -s $target $i.0;;
41 esac
42 done
43 }