wok-4.x annotate efreet/receipt @ rev 3280
Categorization: lesstif
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jun 02 09:47:04 2009 +0000 (2009-06-02) |
parents | 8a540c20b723 |
children | 2c110965aa8b |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="efreet" |
pankso@2917 | 4 VERSION="0.5.0.060" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@2917 | 6 SHORT_DESC="E17 implementation of several specifications from freedesktop.org." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2487 | 8 DEPENDS="eet evas ecore embryo edje libcurl openssl" |
pascal@2951 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev ecore embryo-dev edje-dev" |
pankso@2024 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@140 | 11 WEB_SITE="http://www.enlightenment.org/" |
pankso@2917 | 12 WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$TARBALL" |
pankso@140 | 13 |
pankso@140 | 14 # Rules to configure and make the package. |
pankso@140 | 15 compile_rules() |
pankso@140 | 16 { |
pankso@140 | 17 cd $src |
pankso@2024 | 18 ./configure \ |
pankso@2024 | 19 --prefix=/usr \ |
pankso@2024 | 20 --infodir=/usr/share/info \ |
pankso@2024 | 21 --mandir=/usr/share/man \ |
pankso@2024 | 22 $CONFIGURE_ARGS && |
pascal@1480 | 23 make && |
pankso@140 | 24 make DESTDIR=$PWD/_pkg install |
pankso@140 | 25 } |
pankso@140 | 26 |
pankso@140 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 28 genpkg_rules() |
pankso@140 | 29 { |
pankso@140 | 30 mkdir -p $fs/usr/lib |
pankso@140 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@140 | 32 cp -a $_pkg/usr/share $fs/usr |
pankso@140 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2970 | 34 for i in $fs/usr/lib/*.so ; do |
pascal@2970 | 35 [ -L $i ] || continue |
pascal@2970 | 36 [ -e $i.0 ] && continue |
pascal@2970 | 37 target=$(readlink $i) |
pascal@2970 | 38 case "$target" in |
pascal@2970 | 39 *.so.0.*) ln -s $target $i.0;; |
pascal@2970 | 40 esac |
pascal@2970 | 41 done |
pankso@140 | 42 } |
pankso@140 | 43 |