wok rev 7757

Moved plibc.h and platform.h to /usr/include/libmicrohttpd in libmicrohttpd _pkg path.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 21 11:02:58 2010 +0000 (2010-12-21)
parents d51387b027a1
children 4b34af30b105
files libmicrohttpd/receipt
line diff
     1.1 --- a/libmicrohttpd/receipt	Tue Dec 21 16:28:29 2010 +0100
     1.2 +++ b/libmicrohttpd/receipt	Tue Dec 21 11:02:58 2010 +0000
     1.3 @@ -26,8 +26,11 @@
     1.4  		--with-pic \
     1.5  		$CONFIGURE_ARGS &&
     1.6  	make && make DESTDIR=$PWD/_pkg install
     1.7 -	cp -a src/include/platform.h $PWD/_pkg/usr/include
     1.8 -	cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include
     1.9 +	mkdir -p $PWD/_pkg/usr/include/$PACKAGE
    1.10 +	cp -a src/include/platform.h $PWD/_pkg/usr/include/$PACKAGE
    1.11 +	cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include/$PACKAGE
    1.12 +	sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $PWD/_pkg/usr/lib/pkgconfig/libmicrohttpd.pc
    1.13 +
    1.14  }
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.