wok annotate ewl/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents e6c6da3389e7
children 1f48fd1fd933
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 \
gokhlayeh@5961 9 libpng xorg-libXss libidn libcrypto glib xorg-libXp"
pascal@5796 10 BUILD_DEPENDS="cvs subversion eet-dev evas-dev ecore-dev efreet-dev efreet \
pascal@5796 11 emotion emotion-dev"
pankso@264 12 WEB_SITE="http://www.enlightenment.org/"
pankso@264 13
pankso@264 14 # Rules to configure and make the package.
pankso@264 15 compile_rules()
pankso@264 16 {
pankso@2917 17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pascal@5560 18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
pascal@5560 19 if [ -f $TARBALL ]; then
pascal@5560 20 tar xzf $TARBALL
pascal@5560 21 else
pascal@5560 22 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
pascal@5563 23 -r $VERSION $PACKAGE-$VERSION &&
pascal@5560 24 tar czf $TARBALL $PACKAGE-$VERSION
pascal@5560 25 fi
pankso@264 26 cd $src
pankso@2917 27 ./autogen.sh \
pankso@264 28 --prefix=/usr \
pankso@264 29 --sysconfdir=/etc \
pascal@1480 30 $CONFIGURE_ARGS &&
pascal@5796 31 make -j 4 &&
pankso@264 32 make DESTDIR=$PWD/_pkg install
pankso@264 33 }
pankso@264 34
pankso@264 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@264 36 genpkg_rules()
pankso@264 37 {
pankso@264 38 mkdir -p $fs/usr/lib
pankso@264 39 cp -a $_pkg/etc $fs
pankso@264 40 cp -a $_pkg/usr/bin $fs/usr
pankso@264 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@264 42 cp -a $_pkg/usr/lib/ewl $fs/usr/lib
pankso@264 43 rm $fs/usr/lib/ewl/*/*.*a
pankso@264 44 cp -a $_pkg/usr/share $fs/usr
pankso@264 45 }