wok diff gmime/receipt @ rev 14234

linux: update wget_url, use ftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 09:04:12 2013 +0100 (2013-03-22)
parents 32fc82463121
children 76b72f1ad63c
line diff
     1.1 --- a/gmime/receipt	Wed Nov 02 06:54:24 2011 +0000
     1.2 +++ b/gmime/receipt	Fri Mar 22 09:04:12 2013 +0100
     1.3 @@ -1,23 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gmime"
     1.7 -VERSION="2.4.26"
     1.8 +VERSION="2.6.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="library for parsing messages using MIME"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WEB_SITE="http://spruce.sourceforge.net/gmime"
    1.15 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
    1.17  
    1.18 -DEPENDS="glib zlib"
    1.19 -BUILD_DEPENDS="glib-dev zlib-dev"
    1.20 +DEPENDS="glib gpgme zlib"
    1.21 +BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src
    1.27  	./configure \
    1.28 +		--enable-smime \
    1.29  		--disable-mono \
    1.30 +		--disable-static \
    1.31  		--build=$HOST_SYSTEM \
    1.32  		--host=$HOST_SYSTEM &&
    1.33  	make && make DESTDIR=$DESTDIR install
    1.34 @@ -27,19 +29,5 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr/lib
    1.38 -	cp -a $_pkg/usr/bin $fs/usr
    1.39  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40  }
    1.41 -
    1.42 -# Overlap busybox
    1.43 -pre_install()
    1.44 -{
    1.45 -	rm -f $1/usr/bin/uuencode
    1.46 -	rm -f $1/usr/bin/uudecode
    1.47 -}
    1.48 -
    1.49 -post_remove()
    1.50 -{
    1.51 -	ln -s /bin/busybox $1/usr/bin/uuencode
    1.52 -	ln -s /bin/busybox $1/usr/bin/uudecode
    1.53 -}