wok annotate ewl/receipt @ rev 5674
Add gammu (control cell phone lib)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:13:51 2010 +0200 (2010-05-30) |
parents | 83e2b2ddf023 |
children | e6c6da3389e7 |
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@5426 | 10 BUILD_DEPENDS="cvs subversion 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 |
pascal@5560 | 17 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz |
pascal@5560 | 18 if [ -f $TARBALL ]; then |
pascal@5560 | 19 tar xzf $TARBALL |
pascal@5560 | 20 else |
pascal@5560 | 21 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pascal@5563 | 22 -r $VERSION $PACKAGE-$VERSION && |
pascal@5560 | 23 tar czf $TARBALL $PACKAGE-$VERSION |
pascal@5560 | 24 fi |
pankso@264 | 25 cd $src |
pankso@2917 | 26 ./autogen.sh \ |
pankso@264 | 27 --prefix=/usr \ |
pankso@264 | 28 --sysconfdir=/etc \ |
pascal@1480 | 29 $CONFIGURE_ARGS && |
pascal@1480 | 30 make && |
pankso@264 | 31 make DESTDIR=$PWD/_pkg install |
pankso@264 | 32 } |
pankso@264 | 33 |
pankso@264 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 35 genpkg_rules() |
pankso@264 | 36 { |
pankso@264 | 37 mkdir -p $fs/usr/lib |
pankso@264 | 38 cp -a $_pkg/etc $fs |
pankso@264 | 39 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@264 | 41 cp -a $_pkg/usr/lib/ewl $fs/usr/lib |
pankso@264 | 42 rm $fs/usr/lib/ewl/*/*.*a |
pankso@264 | 43 cp -a $_pkg/usr/share $fs/usr |
pankso@264 | 44 } |