wok-6.x diff gmime/receipt @ rev 12685

linux: fix modules.list to use new .xz compressed modules
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 01 23:48:55 2012 +0200 (2012-05-01)
parents 21b80c68de86
children 8fcec0f6b5be
line diff
     1.1 --- a/gmime/receipt	Sun Feb 27 01:26:00 2011 +0100
     1.2 +++ b/gmime/receipt	Tue May 01 23:48:55 2012 +0200
     1.3 @@ -1,27 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gmime"
     1.7 -VERSION="2.4.22"
     1.8 +VERSION="2.4.26"
     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 +WEB_SITE="http://spruce.sourceforge.net/gmime"
    1.14 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.15 +
    1.16  DEPENDS="glib zlib"
    1.17  BUILD_DEPENDS="glib-dev zlib-dev"
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://spruce.sourceforge.net/gmime"
    1.20 -WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26  	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--infodir=/usr/share/info \
    1.29 -		--mandir=/usr/share/man \
    1.30  		--disable-mono \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make DESTDIR=$PWD/_pkg install
    1.33 +		--build=$HOST_SYSTEM \
    1.34 +		--host=$HOST_SYSTEM &&
    1.35 +	make && make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 @@ -41,6 +40,6 @@
    1.40  
    1.41  post_remove()
    1.42  {
    1.43 -	ln -s /bin/busybox /usr/bin/uuencode
    1.44 -	ln -s /bin/busybox /usr/bin/uudecode
    1.45 +	ln -s /bin/busybox $1/usr/bin/uuencode
    1.46 +	ln -s /bin/busybox $1/usr/bin/uudecode
    1.47  }