wok-current annotate c-ares/receipt @ rev 18460
c-ares: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 23:32:38 2015 +0200 (2015-09-28) |
parents | f083b24a7267 |
children | a78610b2eb47 |
rev | line source |
---|---|
pascal@18459 | 1 # SliTaz package receipt. |
pascal@18459 | 2 |
pascal@18459 | 3 PACKAGE="c-ares" |
pascal@18459 | 4 VERSION="1.10.0" |
pascal@18459 | 5 CATEGORY="network" |
pascal@18459 | 6 SHORT_DESC="A C library for asynchronous DNS requests." |
pascal@18459 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18459 | 8 LICENSE="MIT" |
pascal@18459 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18459 | 10 WEB_SITE="http://c-ares.haxx.se/" |
pascal@18459 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@18459 | 12 |
pascal@18459 | 13 # Rules to configure and make the package. |
pascal@18459 | 14 compile_rules() |
pascal@18459 | 15 { |
pascal@18459 | 16 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@18459 | 17 $CONFIGURE_ARGS && |
pascal@18459 | 18 make && |
pascal@18460 | 19 make -j 1 DESTDIR=$DESTDIR install |
pascal@18459 | 20 } |
pascal@18459 | 21 |
pascal@18459 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18459 | 23 genpkg_rules() |
pascal@18459 | 24 { |
pascal@18459 | 25 mkdir -p $fs/usr/lib |
pascal@18459 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18459 | 27 } |