wok-4.x annotate emotion/receipt @ rev 5560
emotion, esmart, ewl, ffmpeg-svn: cache svn fetched files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 10:42:16 2010 +0200 (2010-05-14) |
parents | b68b4f934ba7 |
children | a11358feced4 |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="emotion" |
pankso@4226 | 4 VERSION="42672" |
pankso@271 | 5 CATEGORY="x-window" |
pankso@264 | 6 SHORT_DESC="E17 emotion libs." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5000 | 8 DEPENDS="xine-lib xorg-libXp xorg-libXss fribidi edje xorg-libXdamage \ |
pascal@5026 | 9 xorg-libXtst gnutls jpeg fontconfig glib eina libtasn1" |
pankso@4226 | 10 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev xine-lib-dev |
pankso@4226 | 11 xorg-libXp-dev xorg-libXss-dev fribidi-dev" |
pankso@264 | 12 WEB_SITE="http://www.enlightenment.org/" |
pankso@264 | 13 |
pankso@264 | 14 # Rules to configure and make the package. |
pankso@264 | 15 compile_rules() |
pankso@264 | 16 { |
pankso@2917 | 17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pascal@5560 | 18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz |
pascal@5560 | 19 if [ -f $TARBALL ]; then |
pascal@5560 | 20 tar xzf $TARBALL |
pascal@5560 | 21 else |
pascal@5560 | 22 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pascal@5560 | 23 -r $VERSION $PACKAGE-$VERSION |
pascal@5560 | 24 tar czf $TARBALL $PACKAGE-$VERSION |
pascal@5560 | 25 fi |
pankso@264 | 26 cd $src |
pankso@2917 | 27 ./autogen.sh \ |
pankso@2917 | 28 --prefix=/usr \ |
pankso@2917 | 29 --mandir=/usr/share/man \ |
pankso@2917 | 30 --disable-gstreamer \ |
pankso@2917 | 31 $CONFIGURE_ARGS && |
pascal@2487 | 32 make && |
pankso@264 | 33 make DESTDIR=$PWD/_pkg install |
pankso@264 | 34 } |
pankso@264 | 35 |
pankso@264 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 37 genpkg_rules() |
pankso@264 | 38 { |
pankso@264 | 39 mkdir -p $fs/usr/lib/emotion |
pankso@264 | 40 cp -a $_pkg/usr/share $fs/usr |
pankso@264 | 41 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@264 | 43 cp -a $_pkg/usr/lib/emotion/*.so $fs/usr/lib/emotion |
pankso@264 | 44 } |