wok-next view c-ares/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 65f5c0b7dcd4 |
children | d5aab818505e |
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="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 }