wok-6.x rev 3576

tint2: update VERSION, BUILD_DEPENDS, add CONFIG_FILES
author Liu Peng <rocky@slitaz.org>
date Fri Jun 26 06:50:57 2009 +0000 (2009-06-26)
parents 36d46c4dcee0
children 682806abeaec 9107c12aad0a
files tint2/receipt
line diff
     1.1 --- a/tint2/receipt	Fri Jun 26 01:17:10 2009 +0000
     1.2 +++ b/tint2/receipt	Fri Jun 26 06:50:57 2009 +0000
     1.3 @@ -1,30 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tint2"
     1.7 -VERSION="0.7-beta1"
     1.8 +VERSION="0.7_beta3"
     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"
    1.13 -BUILD_DEPENDS="cairo-dev pango-dev imlib2-dev xorg-libXinerama-dev xorg-dev-proto"
    1.14 +BUILD_DEPENDS="cairo-dev pango-dev imlib2-dev xorg-xineramaproto xorg-xextproto"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://tint2.googlecode.com/files/"
    1.17  WGET_URL="$WEB_SITE/$TARBALL"
    1.18 +CONFIG_FILES="/etc/xdg/tint2/tint2rc"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $WOK/$PACKAGE/$PACKAGE-$VERSION/src
    1.24 -	make &&
    1.25 -	make DESTDIR=../_pkg install
    1.26 +    cd $src
    1.27 +    ./configure --prefix=/usr \
    1.28 +        --sysconfdir=/etc \
    1.29 +        --disable-static \
    1.30 +        --mandir=/usr/share/man \
    1.31 +        $CONFIGURE_ARGS &&
    1.32 +    make &&
    1.33 +    make DESTDIR=$PWD/_pkg install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/etc/xdg $fs/usr
    1.40 -	cp -a $_pkg/usr/bin $fs/usr
    1.41 -	cp -a $_pkg/etc/xdg/$PACKAGE $fs/etc/xdg
    1.42 -		
    1.43 +    mkdir -p $fs/usr
    1.44 +    cp -a $_pkg/etc $fs
    1.45 +    cp -a $_pkg/usr/bin $fs/usr
    1.46  }
    1.47 -