wok diff giblib/receipt @ rev 16015

glib: fix cross compilation to ARM :-)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 05 03:32:36 2014 +0100 (2014-03-05)
parents b7319995b37e
children 6d8a4be89f3d
line diff
     1.1 --- a/giblib/receipt	Mon Jan 02 23:06:18 2012 +0100
     1.2 +++ b/giblib/receipt	Wed Mar 05 03:32:36 2014 +0100
     1.3 @@ -5,26 +5,28 @@
     1.4  CATEGORY="graphics"
     1.5  SHORT_DESC="Giblib graphic library."
     1.6  MAINTAINER="mallory@sweetpeople.org"
     1.7 -DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
     1.8 -BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
     1.9 +LICENSE="MIT"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://linuxbrit.co.uk/feh/"
    1.12  WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
    1.13  
    1.14 +DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
    1.15 +BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.22  	make &&
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 -	cp -a $_pkg/usr/lib $fs/usr
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/lib $fs/usr
    1.35  	rm -f $fs/usr/lib/*a
    1.36  }