wok-current rev 11287

Up: libmicrohttpd to 0.9.16.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 11 07:00:36 2011 +0000 (2011-11-11)
parents dec5c3a2000c
children b56c732e1197
files libmicrohttpd-dev/receipt libmicrohttpd/receipt
line diff
     1.1 --- a/libmicrohttpd-dev/receipt	Fri Nov 11 06:54:40 2011 +0000
     1.2 +++ b/libmicrohttpd-dev/receipt	Fri Nov 11 07:00:36 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmicrohttpd-dev"
     1.7 -VERSION="0.9.6"
     1.8 +VERSION="0.9.16"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="devel files for libmicrohttp"
    1.11  MAINTAINER="slaxemulator@gmail.com"
     2.1 --- a/libmicrohttpd/receipt	Fri Nov 11 06:54:40 2011 +0000
     2.2 +++ b/libmicrohttpd/receipt	Fri Nov 11 07:00:36 2011 +0000
     2.3 @@ -1,15 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libmicrohttpd"
     2.7 -VERSION="0.9.6"
     2.8 +VERSION="0.9.16"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 -DEPENDS="gnutls"
    2.13 -BUILD_DEPENDS="gnutls-dev libtasn1-dev"
    2.14 +DEPENDS="libgcrypt libgnutls"
    2.15 +BUILD_DEPENDS="libgcrypt-dev gnutls-dev libtasn1-dev"
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17  WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    2.18 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    2.19 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23 @@ -25,11 +25,11 @@
    2.24  		--enable-messages \
    2.25  		--with-pic \
    2.26  		$CONFIGURE_ARGS &&
    2.27 -	make && make DESTDIR=$PWD/_pkg install
    2.28 -	mkdir -p $PWD/_pkg/usr/include/$PACKAGE
    2.29 -	cp -a src/include/platform.h $PWD/_pkg/usr/include/$PACKAGE
    2.30 -	cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include/$PACKAGE
    2.31 -	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $PWD/_pkg/usr/lib/pkgconfig/libmicrohttpd.pc
    2.32 +	make && make DESTDIR=$DESTDIR install
    2.33 +	mkdir -p $DESTDIR/usr/include/$PACKAGE
    2.34 +	cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
    2.35 +	cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
    2.36 +	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
    2.37  
    2.38  }
    2.39