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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 8459b1de4897
line source
1 # SliTaz package receipt v2.
3 PACKAGE="c-ares"
4 VERSION="1.14.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/svn/basicnet/c-ares.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://c-ares.haxx.se/download/$TARBALL"
15 SPLIT="$PACKAGE-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=$install install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 c-ares) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }