wok diff gnupg/receipt @ rev 4110

tazbb: add 'cook' command and update
author Christophe Lincoln <pankso@slitaz.org>
date Sat Sep 19 22:16:35 2009 +0200 (2009-09-19)
parents dbf873bf74a8
children 37aa0eb7c634
line diff
     1.1 --- a/gnupg/receipt	Sun Mar 15 21:13:30 2009 +0000
     1.2 +++ b/gnupg/receipt	Sat Sep 19 22:16:35 2009 +0200
     1.3 @@ -1,11 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gnupg"
     1.7 -VERSION="1.4.9"
     1.8 +VERSION="2.0.13"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Free implementation of the OpenPGP."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="libusb bzlib cyrus-sasl libcurl libldap openssl readline zlib"
    1.13 +DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba"
    1.14 +BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
    1.15 +pth-dev libassuan libksba-dev"
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WEB_SITE="http://www.gnupg.org/"
    1.18  WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
    1.19 @@ -14,9 +16,13 @@
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	./configure --prefix=/usr --libexecdir=/usr/lib \
    1.24 -	--infodir=/usr/share/info \
    1.25 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.26 +	./configure \
    1.27 +		--prefix=/usr \
    1.28 +		--libexecdir=/usr/lib \
    1.29 +		--infodir=/usr/share/info \
    1.30 +		--mandir=/usr/share/man \
    1.31 +		--disable-ldap \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34  	make DESTDIR=$PWD/_pkg install
    1.35  }
    1.36 @@ -24,14 +30,10 @@
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/share/locale
    1.41 +	mkdir -p $fs/usr/share
    1.42  	cp -a $_pkg/usr/bin $fs/usr
    1.43  	cp -a $_pkg/usr/lib $fs/usr
    1.44  	cp -a $_pkg/usr/share/gnupg $fs/usr/share
    1.45 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.46 -	
    1.47 -	# Strip and chmod for gnup-zip.
    1.48 -	strip -s $fs/usr/bin/* 2>/dev/null
    1.49 +	# Chmod for gnup-zip
    1.50  	chmod 755 $fs/usr/bin/*
    1.51  }
    1.52 -