wok-6.x view ewl/receipt @ rev 5680
add yp-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 03 10:50:02 2010 +0200 (2010-06-03) |
parents | 83e2b2ddf023 |
children | e6c6da3389e7 |
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 ewl libpng xorg-libXss libidn libcrypto glib xorg-libXp"
10 BUILD_DEPENDS="cvs subversion eet-dev evas-dev ecore-dev efreet-dev emotion emotion-dev"
11 WEB_SITE="http://www.enlightenment.org/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
17 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
18 if [ -f $TARBALL ]; then
19 tar xzf $TARBALL
20 else
21 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
22 -r $VERSION $PACKAGE-$VERSION &&
23 tar czf $TARBALL $PACKAGE-$VERSION
24 fi
25 cd $src
26 ./autogen.sh \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/ewl $fs/usr/lib
42 rm $fs/usr/lib/ewl/*/*.*a
43 cp -a $_pkg/usr/share $fs/usr
44 }