wok-current view ewl/receipt @ rev 8548
imported patch get/ecm
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | e6c6da3389e7 |
children | 1f48fd1fd933 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ewl"
4 VERSION="42530"
5 CATEGORY="x-window"
6 SHORT_DESC="The Enlightened Widget Library (E17)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="jpeg ecore eet evas edje efreet emotion libcurl openssl \
9 libpng xorg-libXss libidn libcrypto glib xorg-libXp"
10 BUILD_DEPENDS="cvs subversion eet-dev evas-dev ecore-dev efreet-dev efreet \
11 emotion emotion-dev"
12 WEB_SITE="http://www.enlightenment.org/"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
19 if [ -f $TARBALL ]; then
20 tar xzf $TARBALL
21 else
22 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
23 -r $VERSION $PACKAGE-$VERSION &&
24 tar czf $TARBALL $PACKAGE-$VERSION
25 fi
26 cd $src
27 ./autogen.sh \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make -j 4 &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/etc $fs
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/ewl $fs/usr/lib
43 rm $fs/usr/lib/ewl/*/*.*a
44 cp -a $_pkg/usr/share $fs/usr
45 }