wok-4.x annotate ecore/receipt @ rev 5026
[a-f]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 02 18:31:54 2010 +0100 (2010-03-02) |
parents | 6e90579538d6 |
children | 3fa1d9832662 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="ecore" |
pankso@4763 | 4 VERSION="0.9.9.063" |
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 \ |
pascal@5000 | 10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst xorg-libXp \ |
pascal@5026 | 11 xorg-libXss libtasn1" |
pankso@3164 | 12 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev" |
pankso@140 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@140 | 14 WEB_SITE="http://www.enlightenment.org/" |
pankso@4763 | 15 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL" |
pankso@140 | 16 |
pankso@140 | 17 # Rules to configure and make the package. |
pankso@140 | 18 compile_rules() |
pankso@140 | 19 { |
pankso@140 | 20 cd $src |
pankso@2021 | 21 ./configure \ |
pankso@2021 | 22 --enable-ecore-config \ |
pankso@2021 | 23 --prefix=/usr \ |
pankso@2021 | 24 --infodir=/usr/share/info \ |
pankso@2021 | 25 --mandir=/usr/share/man \ |
pankso@2021 | 26 $CONFIGURE_ARGS && |
pascal@1491 | 27 make && |
pankso@140 | 28 make DESTDIR=$PWD/_pkg install |
pankso@140 | 29 } |
pankso@140 | 30 |
pankso@140 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 32 genpkg_rules() |
pankso@140 | 33 { |
pankso@140 | 34 mkdir -p $fs/usr/lib |
pankso@140 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2969 | 37 for i in $fs/usr/lib/*.so ; do |
pascal@2969 | 38 [ -L $i ] || continue |
pascal@2969 | 39 [ -e $i.0 ] && continue |
pascal@2969 | 40 target=$(readlink $i) |
pascal@2969 | 41 case "$target" in |
pascal@2969 | 42 *.so.0.*) ln -s $target $i.0;; |
pascal@2969 | 43 esac |
pascal@2969 | 44 done |
pankso@140 | 45 } |
pankso@140 | 46 |