wok-next view c-ares/receipt @ rev 20875
Fix bastet, cherokee
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 06 12:59:08 2018 +0300 (2018-07-06) |
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 }