wok-next diff libmicrohttpd/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 25deb7c6df08
children
line diff
     1.1 --- a/libmicrohttpd/receipt	Sat Apr 14 03:34:33 2018 +0300
     1.2 +++ b/libmicrohttpd/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -3,9 +3,8 @@
     1.4  PACKAGE="libmicrohttpd"
     1.5  VERSION="0.9.33"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP \
     1.8 -server as part of another application"
     1.9 -MAINTAINER="slaxemulator@gmail.com"
    1.10 +SHORT_DESC="Run HTTP server as part of another application"
    1.11 +MAINTAINER="devel@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13  WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    1.14  
    1.15 @@ -13,7 +12,7 @@
    1.16  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18  BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev"
    1.19 -SPLIT="libmicrohttpd-dev"
    1.20 +SPLIT="$PACKAGE-dev"
    1.21  
    1.22  compile_rules() {
    1.23  	./configure \
    1.24 @@ -25,12 +24,13 @@
    1.25  		$CONFIGURE_ARGS &&
    1.26  	fix libtool &&
    1.27  	make &&
    1.28 -	make DESTDIR=$DESTDIR install || return 1
    1.29 +	make DESTDIR=$install install || return 1
    1.30  
    1.31 -	mkdir -p $DESTDIR/usr/include/$PACKAGE
    1.32 -	cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
    1.33 -	cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
    1.34 -	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
    1.35 +	mkdir -p $install/usr/include/$PACKAGE
    1.36 +	cp -a src/include/platform.h $install/usr/include/$PACKAGE
    1.37 +	cp -a src/include/plibc/plibc.h $install/usr/include/$PACKAGE
    1.38 +	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' \
    1.39 +		$install/usr/lib/pkgconfig/libmicrohttpd.pc
    1.40  }
    1.41  
    1.42  genpkg_rules() {