wok annotate evas/receipt @ rev 8002
Fixed libtaz, tazchroot, and tazwok-experimental again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 18 12:47:44 2011 +0000 (2011-01-18) |
parents | f99c07c038f7 |
children | 85cd798d6997 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="evas" |
pankso@4763 | 4 VERSION="0.9.9.063" |
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 \ |
pankso@4763 | 9 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender eet openssl \ |
pascal@5000 | 10 fribidi libgsf libcroco librsvg giflib" |
pankso@4763 | 11 BUILD_DEPENDS="xorg-libX11-dev eet-dev libgsf-dev libcroco-dev" |
pankso@140 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@140 | 13 WEB_SITE="http://www.enlightenment.org/" |
pankso@4763 | 14 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$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@2020 | 20 ./configure \ |
pankso@2020 | 21 --prefix=/usr \ |
pankso@2020 | 22 --infodir=/usr/share/info \ |
pankso@2020 | 23 --mandir=/usr/share/man \ |
pankso@4763 | 24 --disable-gnutls \ |
pankso@2020 | 25 $CONFIGURE_ARGS && |
pascal@1465 | 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/lib/*.so* $fs/usr/lib |
pankso@140 | 35 cp -a $_pkg/usr/lib/evas $fs/usr/lib |
pankso@2917 | 36 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a |
pascal@2970 | 37 for i in $fs/usr/lib/*.so ; do |
pascal@2970 | 38 [ -L $i ] || continue |
pascal@2970 | 39 [ -e $i.0 ] && continue |
pascal@2970 | 40 target=$(readlink $i) |
pascal@2970 | 41 case "$target" in |
pascal@2970 | 42 *.so.0.*) ln -s $target $i.0;; |
pascal@2970 | 43 esac |
pascal@2970 | 44 done |
pankso@140 | 45 } |
pankso@140 | 46 |