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

ecore: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 13:46:20 2009 +0200 (2009-05-08)
parents fc471c5f5a90
children 8a540c20b723
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@2514 10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst"
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@2917 19 # Edje dont cook if ecore link with libiconv.
pascal@2950 20 #[ -d /var/lib/tazpkg/installed/libiconv-dev ] && tazpkg remove libiconv-dev
pankso@140 21 cd $src
pankso@2021 22 ./configure \
pankso@2021 23 --enable-ecore-config \
pankso@2021 24 --prefix=/usr \
pankso@2021 25 --infodir=/usr/share/info \
pankso@2021 26 --mandir=/usr/share/man \
pankso@2021 27 $CONFIGURE_ARGS &&
pascal@1491 28 make &&
pankso@140 29 make DESTDIR=$PWD/_pkg install
pankso@140 30 }
pankso@140 31
pankso@140 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 33 genpkg_rules()
pankso@140 34 {
pankso@140 35 mkdir -p $fs/usr/lib
pankso@140 36 cp -a $_pkg/usr/bin $fs/usr
pankso@140 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@140 38 }
pankso@140 39