wok view embryo/receipt @ rev 3926
mirror-tools: be fhs compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 19 12:03:31 2009 +0200 (2009-08-19) |
parents | fc471c5f5a90 |
children | 2c110965aa8b |
line source
1 # SliTaz package receipt.
3 PACKAGE="embryo"
4 VERSION="0.9.9.060"
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-04-22/$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 }