wok diff shared-mime-info/receipt @ rev 16176

Add: hexchat (2.9.6.1). Suggest removing XChat
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 15:23:23 2014 +0000 (2014-03-30)
parents 380ffe05937a
children c46591bcff38
line diff
     1.1 --- a/shared-mime-info/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/shared-mime-info/receipt	Sun Mar 30 15:23:23 2014 +0000
     1.3 @@ -9,15 +9,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
     1.6  WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
     1.7 +
     1.8 +CROSS_BUGS="Run the cross compiled update-mime-database on build host"
     1.9 +#HOST_ARCH="i486 arm"
    1.10 +
    1.11  LOCALE=""
    1.12 +DEPENDS="glib libxml2 zlib"
    1.13 +BUILD_DEPENDS="perl-xml-parser glib-dev libxml2-dev intltool pkg-config"
    1.14  
    1.15 -DEPENDS="glib libxml2 zlib"
    1.16 -BUILD_DEPENDS="perl-xml-parser glib glib-dev libxml2-dev intltool pkg-config"
    1.17 +# Handle cross compilation. Host perl/intltool are used
    1.18 +case "$ARCH" in
    1.19 +	arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;;
    1.20 +esac
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -    cd $src
    1.26      patch -Np1 -i $stuff/pbm.patch
    1.27      ./configure $CONFIGURE_ARGS &&
    1.28      make -j1 && make -j1 DESTDIR=$DESTDIR install