wok-current annotate ecore/receipt @ rev 4327

Fix: avidemux have shared libs (and no desktop file)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 30 00:57:40 2009 +0200 (2009-09-30)
parents 45790f0c3d53
children f99c07c038f7
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="ecore"
pankso@4089 4 VERSION="0.9.9.062"
pankso@211 5 CATEGORY="x-window"
pankso@140 6 SHORT_DESC="E17 core libs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@2487 8 DEPENDS="eet evas libcurl openssl xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2487 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pankso@3164 10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst"
pankso@3164 11 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev"
pankso@140 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@140 13 WEB_SITE="http://www.enlightenment.org/"
pankso@4089 14 WGET_URL="http://download.enlightenment.org/snapshots/2009-07-29/$TARBALL"
pankso@140 15
pankso@140 16 # Rules to configure and make the package.
pankso@140 17 compile_rules()
pankso@140 18 {
pankso@140 19 cd $src
pankso@2021 20 ./configure \
pankso@2021 21 --enable-ecore-config \
pankso@2021 22 --prefix=/usr \
pankso@2021 23 --infodir=/usr/share/info \
pankso@2021 24 --mandir=/usr/share/man \
pankso@2021 25 $CONFIGURE_ARGS &&
pascal@1491 26 make &&
pankso@140 27 make DESTDIR=$PWD/_pkg install
pankso@140 28 }
pankso@140 29
pankso@140 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 31 genpkg_rules()
pankso@140 32 {
pankso@140 33 mkdir -p $fs/usr/lib
pankso@140 34 cp -a $_pkg/usr/bin $fs/usr
pankso@140 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@2969 36 for i in $fs/usr/lib/*.so ; do
pascal@2969 37 [ -L $i ] || continue
pascal@2969 38 [ -e $i.0 ] && continue
pascal@2969 39 target=$(readlink $i)
pascal@2969 40 case "$target" in
pascal@2969 41 *.so.0.*) ln -s $target $i.0;;
pascal@2969 42 esac
pascal@2969 43 done
pankso@140 44 }
pankso@140 45