wok-next diff libnotify/receipt @ rev 17515

Up screen (4.2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 13 15:45:14 2015 +0100 (2015-01-13)
parents 4904e3d374a9
children da71f20282cc
line diff
     1.1 --- a/libnotify/receipt	Tue Jun 11 10:41:23 2013 +0200
     1.2 +++ b/libnotify/receipt	Tue Jan 13 15:45:14 2015 +0100
     1.3 @@ -9,18 +9,23 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.galago-project.org/"
     1.6  WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="dbus gtk+ dbus-glib xorg-libXdamage"
    1.10 -BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev perl expat-dev"
    1.11 +BUILD_DEPENDS="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
    1.12 +
    1.13 +# Handle cross compilation
    1.14 +case "$ARCH" in
    1.15 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
    1.16 +esac
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -    cd $src
    1.22 -    ./configure --prefix=/usr --infodir=/usr/share/info \
    1.23 -    --mandir=/usr/share/man --disable-static $CONFIGURE_ARGS &&
    1.24 -    make &&
    1.25 -    make DESTDIR=$DESTDIR install
    1.26 +	./configure \
    1.27 +		--disable-static \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.