wok-stable annotate ewl/receipt @ rev 4198

arj: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 20:55:59 2009 +0200 (2009-09-23)
parents fc471c5f5a90
children 764bcc674b9b
rev   line source
pankso@264 1 # SliTaz package receipt.
pankso@264 2
pankso@264 3 PACKAGE="ewl"
pankso@2917 4 VERSION="40505"
pankso@264 5 CATEGORY="x-window"
pankso@2917 6 SHORT_DESC="The Enlightened Widget Library (E17)."
pankso@264 7 MAINTAINER="pankso@slitaz.org"
pascal@2487 8 DEPENDS="jpeg ecore eet evas edje efreet emotion libcurl openssl"
pascal@3139 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev efreet-dev emotion emotion-dev"
pankso@264 10 WEB_SITE="http://www.enlightenment.org/"
pankso@264 11
pankso@264 12 # Rules to configure and make the package.
pankso@264 13 compile_rules()
pankso@264 14 {
pankso@2917 15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pankso@2917 16 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
pankso@2917 17 -r $VERSION $PACKAGE-$VERSION
pankso@264 18 cd $src
pankso@2917 19 ./autogen.sh \
pankso@264 20 --prefix=/usr \
pankso@264 21 --sysconfdir=/etc \
pascal@1480 22 $CONFIGURE_ARGS &&
pascal@1480 23 make &&
pankso@264 24 make DESTDIR=$PWD/_pkg install
pankso@264 25 }
pankso@264 26
pankso@264 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@264 28 genpkg_rules()
pankso@264 29 {
pankso@264 30 mkdir -p $fs/usr/lib
pankso@264 31 cp -a $_pkg/etc $fs
pankso@264 32 cp -a $_pkg/usr/bin $fs/usr
pankso@264 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@264 34 cp -a $_pkg/usr/lib/ewl $fs/usr/lib
pankso@264 35 rm $fs/usr/lib/ewl/*/*.*a
pankso@264 36 cp -a $_pkg/usr/share $fs/usr
pankso@264 37 }
pankso@264 38