wok annotate libmicrohttpd/receipt @ rev 23126
updated libxslt, libxslt-python and libxslt-dev (1.1.33 -> 1.1.34)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 13 10:16:27 2020 +0100 (2020-03-13) |
parents | 9e985e6947f6 |
children | 71360a13cd94 |
rev | line source |
---|---|
slaxemulator@7749 | 1 # SliTaz package receipt. |
slaxemulator@7749 | 2 |
slaxemulator@7749 | 3 PACKAGE="libmicrohttpd" |
Hans-G?nter@23087 | 4 VERSION="0.9.70" |
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" |
Hans-G?nter@23087 | 15 BUILD_DEPENDS="gmp-dev gnutls-dev libgcrypt-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 |
Hans-G?nter@23087 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7749 | 47 } |