wok diff tint2/receipt @ rev 7899

fix-bdep: kbd
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:25:20 2011 +0100 (2011-01-09)
parents b5219ee4c3eb
children 4a193c62c501
line diff
     1.1 --- a/tint2/receipt	Tue May 11 00:50:12 2010 +0000
     1.2 +++ b/tint2/receipt	Sun Jan 09 14:25:20 2011 +0100
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tint2"
     1.7 -VERSION="0.9"
     1.8 +VERSION="0.11"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="taskbar and panel"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12 -DEPENDS="cairo pango glib imlib2 xorg-libXinerama xcb-util"
    1.13 -BUILD_DEPENDS="cairo-dev pango-dev imlib2-dev xorg-xineramaproto xorg-xextproto"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype"
    1.16 +BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev freetype-dev glib-dev cairo-dev pango-dev imlib2 imlib2-dev gtk+-dev xorg-dev-proto pygtk-dev cmake pkg-config fontconfig-dev"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WEB_SITE="http://tint2.googlecode.com/files/"
    1.19  WGET_URL="$WEB_SITE/$TARBALL"
    1.20  CONFIG_FILES="/etc/xdg/tint2/tint2rc"
    1.21 @@ -17,13 +17,11 @@
    1.22  compile_rules()
    1.23  {
    1.24      cd $src
    1.25 -    ./configure --prefix=/usr \
    1.26 -        --sysconfdir=/etc \
    1.27 -        --disable-static \
    1.28 -        --mandir=/usr/share/man \
    1.29 -        $CONFIGURE_ARGS &&
    1.30 +    [ -d build ] || mkdir build
    1.31 +    cd build
    1.32 +    cmake -DCMAKE_INSTALL_PREFIX=/usr ../ &&
    1.33      make &&
    1.34 -    make DESTDIR=$PWD/_pkg install
    1.35 +    make DESTDIR=$PWD/../_pkg install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.