# HG changeset patch # User Hans-G?nter Theisgen # Date 1555001789 -3600 # Node ID 9e985e6947f6d8d623f20709bddadad1c733b0ed # Parent 392680d9664d922e87b8aa404b33425023c5ebda updated libmicrohttpd and libmicrohttpd-dev (0.9.33 -> 0.9.63) diff -r 392680d9664d -r 9e985e6947f6 libmicrohttpd-dev/receipt --- a/libmicrohttpd-dev/receipt Thu Apr 11 16:33:20 2019 +0100 +++ b/libmicrohttpd-dev/receipt Thu Apr 11 17:56:29 2019 +0100 @@ -1,22 +1,22 @@ # SliTaz package receipt. PACKAGE="libmicrohttpd-dev" -VERSION="0.9.33" +VERSION="0.9.63" CATEGORY="development" -SHORT_DESC="devel files for libmicrohttp" +SHORT_DESC="Development files for libmicrohttp." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" +WEB_SITE="https://www.gnu.org/software/libmicrohttpd/" + WANTED="libmicrohttpd" - DEPENDS="libmicrohttpd libgcrypt-dev gnutls-dev libtasn1-dev pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib } - diff -r 392680d9664d -r 9e985e6947f6 libmicrohttpd/receipt --- a/libmicrohttpd/receipt Thu Apr 11 16:33:20 2019 +0100 +++ b/libmicrohttpd/receipt Thu Apr 11 17:56:29 2019 +0100 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="libmicrohttpd" -VERSION="0.9.33" +VERSION="0.9.63" CATEGORY="network" SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application." MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" +WEB_SITE="https://www.gnu.org/software/libmicrohttpd/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" DEPENDS="libgcrypt libgnutls" @@ -16,21 +17,24 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-dependency-tracking \ - --enable-largefile \ - --enable-curl \ - --enable-messages \ - --with-pic \ + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-dependency-tracking \ + --enable-largefile \ + --enable-curl \ + --enable-messages \ + --with-pic \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make -j 1 && + make DESTDIR=$DESTDIR install + mkdir -p $DESTDIR/usr/include/$PACKAGE - cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE - cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE + cp -a src/include/platform.h \ + $DESTDIR/usr/include/$PACKAGE +# cp -a src/include/plibc/plibc.h \ +# $DESTDIR/usr/include/$PACKAGE sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc } @@ -41,4 +45,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib } -