wok-4.x rev 7749

Add libmicrohttpd. Needed for xbmc.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 19:15:59 2010 +0000 (2010-12-20)
parents 39edff7f10eb
children fc1088e5ec0e
files libmicrohttpd-dev/receipt libmicrohttpd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmicrohttpd-dev/receipt	Mon Dec 20 19:15:59 2010 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libmicrohttpd-dev"
     1.7 +VERSION="0.9.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for libmicrohttp"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libmicrohttpd"
    1.12 +WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    1.13 +WANTED="libmicrohttpd"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +}
    1.23 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libmicrohttpd/receipt	Mon Dec 20 19:15:59 2010 +0000
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libmicrohttpd"
     2.7 +VERSION="0.9.3"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +DEPENDS="gnutls"
    2.12 +BUILD_DEPENDS="gnutls-dev libtasn1-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
    2.15 +WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure \
    2.22 +		--prefix=/usr \
    2.23 +		--infodir=/usr/share/info \
    2.24 +		--mandir=/usr/share/man \
    2.25 +		--disable-dependency-tracking \
    2.26 +		--enable-largefile \
    2.27 +		--enable-curl \
    2.28 +		--enable-messages \
    2.29 +		--with-pic \
    2.30 +		$CONFIGURE_ARGS &&
    2.31 +	make && make DESTDIR=$PWD/_pkg install
    2.32 +	cp -a src/include/platform.h $PWD/_pkg/usr/include
    2.33 +	cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include
    2.34 +}
    2.35 +
    2.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 +genpkg_rules()
    2.38 +{
    2.39 +	mkdir -p $fs/usr/lib
    2.40 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.41 +}
    2.42 +