wok-6.x annotate edje/receipt @ rev 4860
Add liblzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 03 22:17:42 2010 +0100 (2010-02-03) |
parents | 2c110965aa8b |
children | 6e90579538d6 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="edje" |
pankso@4763 | 4 VERSION="0.9.93.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="eet evas ecore embryo libcurl openssl" |
pankso@2917 | 9 BUILD_DEPENDS="pkg-config eet evas ecore embryo eet-dev embryo-dev \ |
pascal@2951 | 10 evas-dev ecore-dev ecore" |
pankso@2023 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@140 | 12 WEB_SITE="http://www.enlightenment.org/" |
pankso@4763 | 13 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$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@2023 | 19 ./configure \ |
pankso@2023 | 20 --prefix=/usr \ |
pankso@2023 | 21 --infodir=/usr/share/info \ |
pankso@2023 | 22 --mandir=/usr/share/man \ |
pankso@2023 | 23 $CONFIGURE_ARGS && |
pascal@1480 | 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/bin $fs/usr |
pankso@140 | 33 cp -a $_pkg/usr/share $fs/usr |
pankso@140 | 34 chmod 755 $fs/usr/bin/* |
pankso@140 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2970 | 36 for i in $fs/usr/lib/*.so ; do |
pascal@2970 | 37 [ -L $i ] || continue |
pascal@2970 | 38 [ -e $i.0 ] && continue |
pascal@2970 | 39 target=$(readlink $i) |
pascal@2970 | 40 case "$target" in |
pascal@2970 | 41 *.so.0.*) ln -s $target $i.0;; |
pascal@2970 | 42 esac |
pascal@2970 | 43 done |
pankso@140 | 44 } |
pankso@140 | 45 |