wok-current annotate libmicrohttpd/receipt @ rev 18640
Up tazpkg(876), cookutils(779); change post_install() in pango, slitaz-boot-scripts, syslinux, tazwikiss
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 01:53:13 2015 +0200 (2015-11-30) |
parents | 4904e3d374a9 |
children | 9e985e6947f6 |
rev | line source |
---|---|
slaxemulator@7749 | 1 # SliTaz package receipt. |
slaxemulator@7749 | 2 |
slaxemulator@7749 | 3 PACKAGE="libmicrohttpd" |
slaxemulator@15859 | 4 VERSION="0.9.33" |
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" |
slaxemulator@7749 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7749 | 10 WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" |
slaxemulator@11287 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7749 | 12 |
pascal@14714 | 13 DEPENDS="libgcrypt libgnutls" |
slaxemulator@15859 | 14 BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev" |
pascal@14714 | 15 |
slaxemulator@7749 | 16 # Rules to configure and make the package. |
slaxemulator@7749 | 17 compile_rules() |
slaxemulator@7749 | 18 { |
slaxemulator@7749 | 19 cd $src |
slaxemulator@7749 | 20 ./configure \ |
slaxemulator@7749 | 21 --prefix=/usr \ |
slaxemulator@7749 | 22 --infodir=/usr/share/info \ |
slaxemulator@7749 | 23 --mandir=/usr/share/man \ |
slaxemulator@7749 | 24 --disable-dependency-tracking \ |
slaxemulator@7749 | 25 --enable-largefile \ |
slaxemulator@7749 | 26 --enable-curl \ |
slaxemulator@7749 | 27 --enable-messages \ |
slaxemulator@7749 | 28 --with-pic \ |
slaxemulator@7749 | 29 $CONFIGURE_ARGS && |
slaxemulator@11287 | 30 make && make DESTDIR=$DESTDIR install |
slaxemulator@11287 | 31 mkdir -p $DESTDIR/usr/include/$PACKAGE |
slaxemulator@11287 | 32 cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE |
slaxemulator@11287 | 33 cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE |
slaxemulator@11287 | 34 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc |
slaxemulator@7757 | 35 |
slaxemulator@7749 | 36 } |
slaxemulator@7749 | 37 |
slaxemulator@7749 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7749 | 39 genpkg_rules() |
slaxemulator@7749 | 40 { |
slaxemulator@7749 | 41 mkdir -p $fs/usr/lib |
pascal@14714 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7749 | 43 } |
slaxemulator@7749 | 44 |