wok annotate ecore/receipt @ rev 3886
perdition: ensure pidfile are valid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 12 18:13:06 2009 +0200 (2009-08-12) |
parents | 5367054e9dee |
children | 2c110965aa8b |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="ecore" |
pankso@2917 | 4 VERSION="0.9.9.060" |
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@2917 | 14 WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$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 |