wok-4.x annotate evas/receipt @ rev 3744

Update: attr (build)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 23 13:33:52 2009 +0000 (2009-07-23)
parents f06cae48d68d
children 2c110965aa8b
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="evas"
pankso@2917 4 VERSION="0.9.9.060"
pankso@211 5 CATEGORY="x-window"
pankso@140 6 SHORT_DESC="E17 libs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@2487 8 DEPENDS="expat fontconfig freetype jpeg libpng tiff xorg-libX11 \
pascal@2964 9 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender eet openssl fribidi"
pankso@2917 10 BUILD_DEPENDS="xorg-libX11-dev eet-dev"
pankso@140 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@140 12 WEB_SITE="http://www.enlightenment.org/"
pankso@2917 13 WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$TARBALL"
pankso@140 14
pankso@140 15 # Rules to configure and make the package.
pankso@140 16 compile_rules()
pankso@140 17 {
pankso@140 18 cd $src
pankso@2020 19 ./configure \
pankso@2020 20 --prefix=/usr \
pankso@2020 21 --infodir=/usr/share/info \
pankso@2020 22 --mandir=/usr/share/man \
pankso@2020 23 $CONFIGURE_ARGS &&
pascal@1465 24 make &&
pankso@140 25 make DESTDIR=$PWD/_pkg install
pankso@140 26 }
pankso@140 27
pankso@140 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 29 genpkg_rules()
pankso@140 30 {
pankso@140 31 mkdir -p $fs/usr/lib
pankso@140 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@140 33 cp -a $_pkg/usr/lib/evas $fs/usr/lib
pankso@2917 34 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
pascal@2970 35 for i in $fs/usr/lib/*.so ; do
pascal@2970 36 [ -L $i ] || continue
pascal@2970 37 [ -e $i.0 ] && continue
pascal@2970 38 target=$(readlink $i)
pascal@2970 39 case "$target" in
pascal@2970 40 *.so.0.*) ln -s $target $i.0;;
pascal@2970 41 esac
pascal@2970 42 done
pankso@140 43 }
pankso@140 44