wok annotate 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 |
rev | line source |
---|---|
slaxemulator@7749 | 1 # SliTaz package receipt. |
slaxemulator@7749 | 2 |
slaxemulator@7749 | 3 PACKAGE="libmicrohttpd" |
slaxemulator@7749 | 4 VERSION="0.9.3" |
slaxemulator@7749 | 5 CATEGORY="network" |
slaxemulator@7749 | 6 SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application." |
slaxemulator@7749 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7749 | 8 DEPENDS="gnutls" |
slaxemulator@7749 | 9 BUILD_DEPENDS="gnutls-dev libtasn1-dev" |
slaxemulator@7749 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7749 | 11 WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" |
slaxemulator@7749 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
slaxemulator@7749 | 13 |
slaxemulator@7749 | 14 # Rules to configure and make the package. |
slaxemulator@7749 | 15 compile_rules() |
slaxemulator@7749 | 16 { |
slaxemulator@7749 | 17 cd $src |
slaxemulator@7749 | 18 ./configure \ |
slaxemulator@7749 | 19 --prefix=/usr \ |
slaxemulator@7749 | 20 --infodir=/usr/share/info \ |
slaxemulator@7749 | 21 --mandir=/usr/share/man \ |
slaxemulator@7749 | 22 --disable-dependency-tracking \ |
slaxemulator@7749 | 23 --enable-largefile \ |
slaxemulator@7749 | 24 --enable-curl \ |
slaxemulator@7749 | 25 --enable-messages \ |
slaxemulator@7749 | 26 --with-pic \ |
slaxemulator@7749 | 27 $CONFIGURE_ARGS && |
slaxemulator@7749 | 28 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7749 | 29 cp -a src/include/platform.h $PWD/_pkg/usr/include |
slaxemulator@7749 | 30 cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include |
slaxemulator@7749 | 31 } |
slaxemulator@7749 | 32 |
slaxemulator@7749 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7749 | 34 genpkg_rules() |
slaxemulator@7749 | 35 { |
slaxemulator@7749 | 36 mkdir -p $fs/usr/lib |
slaxemulator@7749 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7749 | 38 } |
slaxemulator@7749 | 39 |