wok annotate ewl/receipt @ rev 5034
tazbb: clean flavor status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 03 11:58:08 2010 +0100 (2010-03-03) |
parents | 6e90579538d6 |
children | cf8f570e2ad6 |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="ewl" |
pankso@4308 | 4 VERSION="42530" |
pankso@264 | 5 CATEGORY="x-window" |
pankso@2917 | 6 SHORT_DESC="The Enlightened Widget Library (E17)." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5000 | 8 DEPENDS="jpeg ecore eet evas edje efreet emotion libcurl openssl \ |
pascal@5026 | 9 ewl libpng xorg-libXss libidn libcrypto glib xorg-libXp" |
pascal@3139 | 10 BUILD_DEPENDS="eet-dev evas-dev ecore-dev efreet-dev emotion emotion-dev" |
pankso@264 | 11 WEB_SITE="http://www.enlightenment.org/" |
pankso@264 | 12 |
pankso@264 | 13 # Rules to configure and make the package. |
pankso@264 | 14 compile_rules() |
pankso@264 | 15 { |
pankso@2917 | 16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pankso@2917 | 17 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pankso@2917 | 18 -r $VERSION $PACKAGE-$VERSION |
pankso@264 | 19 cd $src |
pankso@2917 | 20 ./autogen.sh \ |
pankso@264 | 21 --prefix=/usr \ |
pankso@264 | 22 --sysconfdir=/etc \ |
pascal@1480 | 23 $CONFIGURE_ARGS && |
pascal@1480 | 24 make && |
pankso@264 | 25 make DESTDIR=$PWD/_pkg install |
pankso@264 | 26 } |
pankso@264 | 27 |
pankso@264 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 29 genpkg_rules() |
pankso@264 | 30 { |
pankso@264 | 31 mkdir -p $fs/usr/lib |
pankso@264 | 32 cp -a $_pkg/etc $fs |
pankso@264 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@264 | 35 cp -a $_pkg/usr/lib/ewl $fs/usr/lib |
pankso@264 | 36 rm $fs/usr/lib/ewl/*/*.*a |
pankso@264 | 37 cp -a $_pkg/usr/share $fs/usr |
pankso@264 | 38 } |