wok-next rev 15131

scim: filter wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 09:36:30 2013 +0000 (2013-08-15)
parents 8c01b80af4f4
children 20b9600c7f0c
files python-werkzeug/receipt scim/receipt
line diff
     1.1 --- a/python-werkzeug/receipt	Thu Aug 15 09:23:59 2013 +0000
     1.2 +++ b/python-werkzeug/receipt	Thu Aug 15 09:36:30 2013 +0000
     1.3 @@ -27,6 +27,6 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	cp -a $_pkg/usr $fs
     1.8 +	cp -a $install/usr $fs
     1.9  }
    1.10  
     2.1 --- a/scim/receipt	Thu Aug 15 09:23:59 2013 +0000
     2.2 +++ b/scim/receipt	Thu Aug 15 09:36:30 2013 +0000
     2.3 @@ -3,13 +3,15 @@
     2.4  CATEGORY="utilities"
     2.5  SHORT_DESC="Smart Common Input Method (SCIM)."
     2.6  MAINTAINER="rocky@slitaz.org"
     2.7 -DEPENDS="gtk+ gcc-lib-base"
     2.8 -BUILD_DEPENDS="gtk+-dev"
     2.9 +LICENSE="LGPL2.1"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WEB_SITE="http://www.scim-im.org/"
    2.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.13  CONFIG_FILES="/etc/scim/config /etc/scim/global"
    2.14  
    2.15 +DEPENDS="gtk+ gcc-lib-base"
    2.16 +BUILD_DEPENDS="gtk+-dev"
    2.17 +
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20  {
    2.21 @@ -28,20 +30,20 @@
    2.22          --with-gtk-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
    2.23          --mandir=/usr/share/man \
    2.24          --infodir=/usr/share/info \
    2.25 -        $CONFIGURE_ARGS &&
    2.26 +        $CONFIGURE_ARGS 2>&1 | grep -v po/POTFILES &&
    2.27      make $MAKEFLAGS &&
    2.28 -    make DESTDIR=$PWD/_pkg install
    2.29 +    make DESTDIR=$DESTDIR install
    2.30  }
    2.31  
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33  genpkg_rules()
    2.34  {
    2.35      mkdir -p $fs/usr/share/pixmaps
    2.36 -    cp -a $_pkg/etc $fs/
    2.37 -    cp -a $_pkg/usr/bin $fs/usr
    2.38 -    cp -a $_pkg/usr/lib $fs/usr
    2.39 -    cp -a $_pkg/usr/share/scim $fs/usr/share
    2.40 -    cp $_pkg/usr/share/pixmaps/scim-setup.png $fs/usr/share/pixmaps
    2.41 +    cp -a $install/etc $fs/
    2.42 +    cp -a $install/usr/bin $fs/usr
    2.43 +    cp -a $install/usr/lib $fs/usr
    2.44 +    cp -a $install/usr/share/scim $fs/usr/share
    2.45 +    cp $install/usr/share/pixmaps/scim-setup.png $fs/usr/share/pixmaps
    2.46      find $fs/usr/lib -name '*.la' -exec rm {} \;
    2.47      find $fs/usr/lib -name '*.a' -exec rm {} \;
    2.48      rm -rf $fs/usr/lib/pkgconfig