wok annotate libmicrohttpd/receipt @ rev 21355

updated libzip and libzip-dev (1.4.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Sun Apr 21 08:42:08 2019 +0100 (2019-04-21)
parents 7773fcd44ae5
children 10cf42b0d0ae
rev   line source
slaxemulator@7749 1 # SliTaz package receipt.
slaxemulator@7749 2
slaxemulator@7749 3 PACKAGE="libmicrohttpd"
Hans-G?nter@21249 4 VERSION="0.9.63"
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"
pascal@14714 8 LICENSE="LGPL2.1"
Hans-G?nter@21249 9 WEB_SITE="https://www.gnu.org/software/libmicrohttpd/"
Hans-G?nter@21249 10
slaxemulator@7749 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11287 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7749 13
pascal@14714 14 DEPENDS="libgcrypt libgnutls"
slaxemulator@15859 15 BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev"
pascal@14714 16
slaxemulator@7749 17 # Rules to configure and make the package.
slaxemulator@7749 18 compile_rules()
slaxemulator@7749 19 {
Hans-G?nter@21249 20 ./configure \
Hans-G?nter@21249 21 --prefix=/usr \
Hans-G?nter@21249 22 --infodir=/usr/share/info \
Hans-G?nter@21249 23 --mandir=/usr/share/man \
Hans-G?nter@21249 24 --disable-dependency-tracking \
Hans-G?nter@21249 25 --enable-largefile \
Hans-G?nter@21249 26 --enable-curl \
Hans-G?nter@21249 27 --enable-messages \
Hans-G?nter@21249 28 --with-pic \
slaxemulator@7749 29 $CONFIGURE_ARGS &&
Hans-G?nter@21249 30 make -j 1 &&
Hans-G?nter@21249 31 make DESTDIR=$DESTDIR install
Hans-G?nter@21249 32
slaxemulator@11287 33 mkdir -p $DESTDIR/usr/include/$PACKAGE
Hans-G?nter@21249 34 cp -a src/include/platform.h \
Hans-G?nter@21249 35 $DESTDIR/usr/include/$PACKAGE
Hans-G?nter@21249 36 # cp -a src/include/plibc/plibc.h \
Hans-G?nter@21249 37 # $DESTDIR/usr/include/$PACKAGE
slaxemulator@11287 38 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
slaxemulator@7757 39
slaxemulator@7749 40 }
slaxemulator@7749 41
slaxemulator@7749 42 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7749 43 genpkg_rules()
slaxemulator@7749 44 {
slaxemulator@7749 45 mkdir -p $fs/usr/lib
pascal@14714 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7749 47 }