wok annotate libmicrohttpd/receipt @ rev 11084
cloudvpn: Fixed WEB_SITE and WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:11:40 2011 +0000 (2011-10-17) |
parents | a4b1ad8f700e |
children | 970d6037bb2e |
rev | line source |
---|---|
slaxemulator@7749 | 1 # SliTaz package receipt. |
slaxemulator@7749 | 2 |
slaxemulator@7749 | 3 PACKAGE="libmicrohttpd" |
slaxemulator@8249 | 4 VERSION="0.9.6" |
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@7757 | 29 mkdir -p $PWD/_pkg/usr/include/$PACKAGE |
slaxemulator@7757 | 30 cp -a src/include/platform.h $PWD/_pkg/usr/include/$PACKAGE |
slaxemulator@7757 | 31 cp -a src/include/plibc/plibc.h $PWD/_pkg/usr/include/$PACKAGE |
slaxemulator@7757 | 32 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $PWD/_pkg/usr/lib/pkgconfig/libmicrohttpd.pc |
slaxemulator@7757 | 33 |
slaxemulator@7749 | 34 } |
slaxemulator@7749 | 35 |
slaxemulator@7749 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7749 | 37 genpkg_rules() |
slaxemulator@7749 | 38 { |
slaxemulator@7749 | 39 mkdir -p $fs/usr/lib |
slaxemulator@7749 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7749 | 41 } |
slaxemulator@7749 | 42 |