wok diff libmicrohttpd/receipt @ rev 22018

updated xcircuit (3.7.32 -> 3.10.12)
author Hans-G?nter Theisgen
date Sat Oct 19 17:56:32 2019 +0100 (2019-10-19)
parents 7773fcd44ae5
children 10cf42b0d0ae
line diff
     1.1 --- a/libmicrohttpd/receipt	Wed Jan 29 21:56:37 2014 +0000
     1.2 +++ b/libmicrohttpd/receipt	Sat Oct 19 17:56:32 2019 +0100
     1.3 @@ -1,13 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmicrohttpd"
     1.7 -VERSION="0.9.33"
     1.8 +VERSION="0.9.63"
     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  LICENSE="LGPL2.1"
    1.13 +WEB_SITE="https://www.gnu.org/software/libmicrohttpd/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  DEPENDS="libgcrypt libgnutls"
    1.20 @@ -16,21 +17,24 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 -	./configure \
    1.26 -		--prefix=/usr \
    1.27 -		--infodir=/usr/share/info \
    1.28 -		--mandir=/usr/share/man \
    1.29 -		--disable-dependency-tracking \
    1.30 -		--enable-largefile \
    1.31 -		--enable-curl \
    1.32 -		--enable-messages \
    1.33 -		--with-pic \
    1.34 +	./configure				\
    1.35 +		--prefix=/usr			\
    1.36 +		--infodir=/usr/share/info	\
    1.37 +		--mandir=/usr/share/man		\
    1.38 +		--disable-dependency-tracking	\
    1.39 +		--enable-largefile		\
    1.40 +		--enable-curl			\
    1.41 +		--enable-messages		\
    1.42 +		--with-pic			\
    1.43  		$CONFIGURE_ARGS &&
    1.44 -	make && make DESTDIR=$DESTDIR install
    1.45 +	make -j 1 &&
    1.46 +	make DESTDIR=$DESTDIR install
    1.47 +
    1.48  	mkdir -p $DESTDIR/usr/include/$PACKAGE
    1.49 -	cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
    1.50 -	cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
    1.51 +	cp -a src/include/platform.h	\
    1.52 +		$DESTDIR/usr/include/$PACKAGE
    1.53 +#	cp -a src/include/plibc/plibc.h	\
    1.54 +#		$DESTDIR/usr/include/$PACKAGE
    1.55  	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
    1.56  
    1.57  }
    1.58 @@ -41,4 +45,3 @@
    1.59  	mkdir -p $fs/usr/lib
    1.60  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.61  }
    1.62 -