wok-6.x view libmicrohttpd/receipt @ rev 21070
updated jabberd2 again (2.2.16 -> 2.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 14 16:10:28 2019 +0100 (2019-03-14) |
parents | 4904e3d374a9 |
children | 9e985e6947f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmicrohttpd"
4 VERSION="0.9.33"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libmicrohttpd/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libgcrypt libgnutls"
14 BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 && make DESTDIR=$DESTDIR install
31 mkdir -p $DESTDIR/usr/include/$PACKAGE
32 cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE
33 cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE
34 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }