wok-4.x view embryo/receipt @ rev 6062
tazbb: preserve hotfixes in tazwok & tazpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 21 13:58:44 2010 +0200 (2010-08-21) |
parents | 2c110965aa8b |
children | 85cd798d6997 |
line source
1 # SliTaz package receipt.
3 PACKAGE="embryo"
4 VERSION="0.9.9.063"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 Embryo libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/share $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 for i in $fs/usr/lib/*.so ; do
34 [ -L $i ] || continue
35 [ -e $i.0 ] && continue
36 target=$(readlink $i)
37 case "$target" in
38 *.so.0.*) ln -s $target $i.0;;
39 esac
40 done
41 }