wok diff libmicrohttpd/receipt @ 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 | |
children | be4f578239fd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libmicrohttpd/receipt Mon Dec 20 19:15:59 2010 +0000 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libmicrohttpd" 1.7 +VERSION="0.9.3" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="gnutls" 1.12 +BUILD_DEPENDS="gnutls-dev libtasn1-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" 1.15 +WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + --disable-dependency-tracking \ 1.26 + --enable-largefile \ 1.27 + --enable-curl \ 1.28 + --enable-messages \ 1.29 + --with-pic \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && make DESTDIR=$PWD/_pkg install 1.32 + cp -a src/include/platform.h $PWD/_pkg/usr/include 1.33 + cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/usr/lib 1.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.41 +} 1.42 +