wok rev 21249

updated libmicrohttpd and libmicrohttpd-dev (0.9.33 -> 0.9.63)
author Hans-G?nter Theisgen
date Thu Apr 11 17:56:29 2019 +0100 (2019-04-11)
parents 392680d9664d
children b2f137fe8270
files libmicrohttpd-dev/receipt libmicrohttpd/receipt
line diff
     1.1 --- a/libmicrohttpd-dev/receipt	Thu Apr 11 16:33:20 2019 +0100
     1.2 +++ b/libmicrohttpd-dev/receipt	Thu Apr 11 17:56:29 2019 +0100
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmicrohttpd-dev"
     1.7 -VERSION="0.9.33"
     1.8 +VERSION="0.9.63"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for libmicrohttp"
    1.11 +SHORT_DESC="Development files for libmicrohttp."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    1.15 +WEB_SITE="https://www.gnu.org/software/libmicrohttpd/"
    1.16 +
    1.17  WANTED="libmicrohttpd"
    1.18 -
    1.19  DEPENDS="libmicrohttpd libgcrypt-dev gnutls-dev libtasn1-dev pkg-config"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 +
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.31 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.32  }
    1.33 -
     2.1 --- a/libmicrohttpd/receipt	Thu Apr 11 16:33:20 2019 +0100
     2.2 +++ b/libmicrohttpd/receipt	Thu Apr 11 17:56:29 2019 +0100
     2.3 @@ -1,13 +1,14 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libmicrohttpd"
     2.7 -VERSION="0.9.33"
     2.8 +VERSION="0.9.63"
     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  LICENSE="LGPL2.1"
    2.13 +WEB_SITE="https://www.gnu.org/software/libmicrohttpd/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    2.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    2.18  
    2.19  DEPENDS="libgcrypt libgnutls"
    2.20 @@ -16,21 +17,24 @@
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 -	cd $src
    2.25 -	./configure \
    2.26 -		--prefix=/usr \
    2.27 -		--infodir=/usr/share/info \
    2.28 -		--mandir=/usr/share/man \
    2.29 -		--disable-dependency-tracking \
    2.30 -		--enable-largefile \
    2.31 -		--enable-curl \
    2.32 -		--enable-messages \
    2.33 -		--with-pic \
    2.34 +	./configure				\
    2.35 +		--prefix=/usr			\
    2.36 +		--infodir=/usr/share/info	\
    2.37 +		--mandir=/usr/share/man		\
    2.38 +		--disable-dependency-tracking	\
    2.39 +		--enable-largefile		\
    2.40 +		--enable-curl			\
    2.41 +		--enable-messages		\
    2.42 +		--with-pic			\
    2.43  		$CONFIGURE_ARGS &&
    2.44 -	make && make DESTDIR=$DESTDIR install
    2.45 +	make -j 1 &&
    2.46 +	make DESTDIR=$DESTDIR install
    2.47 +
    2.48  	mkdir -p $DESTDIR/usr/include/$PACKAGE
    2.49 -	cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
    2.50 -	cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
    2.51 +	cp -a src/include/platform.h	\
    2.52 +		$DESTDIR/usr/include/$PACKAGE
    2.53 +#	cp -a src/include/plibc/plibc.h	\
    2.54 +#		$DESTDIR/usr/include/$PACKAGE
    2.55  	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
    2.56  
    2.57  }
    2.58 @@ -41,4 +45,3 @@
    2.59  	mkdir -p $fs/usr/lib
    2.60  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.61  }
    2.62 -