wok rev 10363

libgcrypt: can't cross (use default)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 02:02:36 2011 +0200 (2011-05-23)
parents 720c4148ff55
children 1596b5b5bd81
files libgcrypt/receipt
line diff
     1.1 --- a/libgcrypt/receipt	Mon May 23 01:44:08 2011 +0200
     1.2 +++ b/libgcrypt/receipt	Mon May 23 02:02:36 2011 +0200
     1.3 @@ -5,20 +5,22 @@
     1.4  CATEGORY="security"
     1.5  SHORT_DESC="Cryptographic library based on GnuPG"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="libgpg-error"
     1.8 -BUILD_DEPENDS="libgpg-error-dev libgpg-error"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://www.gnupg.org/"
    1.11  WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL"
    1.12 +CROSS="bug"
    1.13 +
    1.14 +DEPENDS="libgpg-error"
    1.15 +BUILD_DEPENDS="libgpg-error-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 --infodir=/usr/share/info \
    1.22 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 -	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	./configure \
    1.26 +		--build=$HOST_SYSTEM \
    1.27 +		--host=$HOST_SYSTEM &&
    1.28 +	make && make install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.