wok-next view c-ares/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents a5d7827e08cf
children 65f5c0b7dcd4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="c-ares"
4 VERSION="1.12.0"
5 CATEGORY="network"
6 SHORT_DESC="A C library for asynchronous DNS requests"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://c-ares.haxx.se/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/c-ares.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://c-ares.haxx.se/download/$TARBALL"
15 SPLIT="c-ares-dev"
17 compile_rules() {
18 export CFLAGS=${CFLAGS/-D_GLIBCXX_USE_C99_MATH=1/}
19 export CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_C99_MATH=1"
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make -j1 DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 c-ares) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }