wok diff scim/receipt @ rev 15213

Add nbd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 12:21:17 2013 +0000 (2013-09-13)
parents 8e4c74abdf74
children fb330dab8442
line diff
     1.1 --- a/scim/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.2 +++ b/scim/receipt	Fri Sep 13 12:21:17 2013 +0000
     1.3 @@ -3,13 +3,15 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Smart Common Input Method (SCIM)."
     1.6  MAINTAINER="rocky@slitaz.org"
     1.7 -DEPENDS="gtk+ gcc-lib-base"
     1.8 -BUILD_DEPENDS="gtk+-dev"
     1.9 +LICENSE="LGPL2.1"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.scim-im.org/"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  CONFIG_FILES="/etc/scim/config /etc/scim/global"
    1.14  
    1.15 +DEPENDS="gtk+ gcc-lib-base"
    1.16 +BUILD_DEPENDS="gtk+-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -28,20 +30,20 @@
    1.22          --with-gtk-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
    1.23          --mandir=/usr/share/man \
    1.24          --infodir=/usr/share/info \
    1.25 -        $CONFIGURE_ARGS &&
    1.26 +        $CONFIGURE_ARGS 2>&1 | grep -v po/POTFILES &&
    1.27      make $MAKEFLAGS &&
    1.28 -    make DESTDIR=$PWD/_pkg install
    1.29 +    make DESTDIR=$DESTDIR install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35      mkdir -p $fs/usr/share/pixmaps
    1.36 -    cp -a $_pkg/etc $fs/
    1.37 -    cp -a $_pkg/usr/bin $fs/usr
    1.38 -    cp -a $_pkg/usr/lib $fs/usr
    1.39 -    cp -a $_pkg/usr/share/scim $fs/usr/share
    1.40 -    cp $_pkg/usr/share/pixmaps/scim-setup.png $fs/usr/share/pixmaps
    1.41 +    cp -a $install/etc $fs/
    1.42 +    cp -a $install/usr/bin $fs/usr
    1.43 +    cp -a $install/usr/lib $fs/usr
    1.44 +    cp -a $install/usr/share/scim $fs/usr/share
    1.45 +    cp $install/usr/share/pixmaps/scim-setup.png $fs/usr/share/pixmaps
    1.46      find $fs/usr/lib -name '*.la' -exec rm {} \;
    1.47      find $fs/usr/lib -name '*.a' -exec rm {} \;
    1.48      rm -rf $fs/usr/lib/pkgconfig