wok view libmicrohttpd/receipt @ rev 22045
updated tmux-mem-cpu-load (2.2.1 -> 3.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 22 14:09:23 2019 +0100 (2019-10-22) |
parents | 7773fcd44ae5 |
children | 10cf42b0d0ae |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmicrohttpd"
4 VERSION="0.9.63"
5 CATEGORY="network"
6 SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gnu.org/software/libmicrohttpd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libgcrypt libgnutls"
15 BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-dependency-tracking \
25 --enable-largefile \
26 --enable-curl \
27 --enable-messages \
28 --with-pic \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
33 mkdir -p $DESTDIR/usr/include/$PACKAGE
34 cp -a src/include/platform.h \
35 $DESTDIR/usr/include/$PACKAGE
36 # cp -a src/include/plibc/plibc.h \
37 # $DESTDIR/usr/include/$PACKAGE
38 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }