wok-6.x annotate ecore/receipt @ rev 3058

Add: darstat
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 13 17:14:25 2009 +0200 (2009-05-13)
parents 8a540c20b723
children 45790f0c3d53
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 \
pascal@2969 10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst libiconv"
pascal@2950 11 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev libiconv-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 \
pascal@2951 25 --with-iconv-link=-liconv \
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