wok-next annotate 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
rev   line source
al@19797 1 # SliTaz package receipt v2.
pascal@18459 2
pascal@18459 3 PACKAGE="c-ares"
al@20960 4 VERSION="1.14.0"
pascal@18459 5 CATEGORY="network"
al@19797 6 SHORT_DESC="A C library for asynchronous DNS requests"
pascal@18459 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18459 8 LICENSE="MIT"
al@19797 9 WEB_SITE="https://c-ares.haxx.se/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/c-ares.html"
al@19797 11
pascal@18459 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20612 13 WGET_URL="https://c-ares.haxx.se/download/$TARBALL"
pascal@18459 14
al@19797 15 SPLIT="c-ares-dev"
al@19797 16
al@20569 17 compile_rules() {
al@20570 18 export CFLAGS=${CFLAGS/-D_GLIBCXX_USE_C99_MATH=1/}
al@20570 19 export CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_C99_MATH=1"
al@20570 20
al@20612 21 ./configure \
al@20612 22 --disable-static \
al@20612 23 $CONFIGURE_ARGS &&
al@20569 24 fix libtool &&
pascal@18459 25 make &&
al@20612 26 make -j1 DESTDIR=$DESTDIR install
pascal@18459 27 }
pascal@18459 28
al@20569 29 genpkg_rules() {
al@19797 30 case $PACKAGE in
al@19797 31 c-ares) copy @std;;
al@19797 32 *-dev) copy @dev;;
al@19797 33 esac
pascal@18459 34 }