wok-6.x diff libmicrohttpd/receipt @ rev 12406

Add the missing piece to have a working Compiz 3D desktop: Emerald windo decorator
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 20 18:02:26 2012 +0200 (2012-04-20)
parents 2ce480b4b0c0
children 55013648b5d3
line diff
     1.1 --- a/libmicrohttpd/receipt	Sat Jan 29 05:54:48 2011 +0000
     1.2 +++ b/libmicrohttpd/receipt	Fri Apr 20 18:02:26 2012 +0200
     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