wok-current annotate embryo/receipt @ rev 2970

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