wok-4.x diff libmicrohttpd/receipt @ rev 11965

tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 15:32:28 2012 +0100 (2012-03-02)
parents 2ce480b4b0c0
children
line diff
     1.1 --- a/libmicrohttpd/receipt	Sat Jan 29 05:54:48 2011 +0000
     1.2 +++ b/libmicrohttpd/receipt	Fri Mar 02 15:32:28 2012 +0100
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmicrohttpd"
     1.7 -VERSION="0.9.6"
     1.8 +VERSION="0.9.16"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 -DEPENDS="gnutls"
    1.13 -BUILD_DEPENDS="gnutls-dev libtasn1-dev"
    1.14 +DEPENDS="libgcrypt libgnutls"
    1.15 +BUILD_DEPENDS="libgcrypt-dev gnutls-dev libtasn1-dev"
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    1.18 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23 @@ -25,11 +25,11 @@
    1.24  		--enable-messages \
    1.25  		--with-pic \
    1.26  		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 -	mkdir -p $PWD/_pkg/usr/include/$PACKAGE
    1.29 -	cp -a src/include/platform.h $PWD/_pkg/usr/include/$PACKAGE
    1.30 -	cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include/$PACKAGE
    1.31 -	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $PWD/_pkg/usr/lib/pkgconfig/libmicrohttpd.pc
    1.32 +	make && make DESTDIR=$DESTDIR install
    1.33 +	mkdir -p $DESTDIR/usr/include/$PACKAGE
    1.34 +	cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
    1.35 +	cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
    1.36 +	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
    1.37  
    1.38  }
    1.39