wok-next annotate c-ares/receipt @ rev 19830
Up cookutils, libdv, ntk-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 05 05:00:03 2017 +0300 (2017-08-05) |
parents | 8440f6bccf22 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@19797 | 1 # SliTaz package receipt v2. |
pascal@18459 | 2 |
pascal@18459 | 3 PACKAGE="c-ares" |
al@19797 | 4 VERSION="1.12.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@19797 | 10 |
pascal@18459 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18459 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@18459 | 13 |
al@19797 | 14 SPLIT="c-ares-dev" |
al@19797 | 15 |
pascal@18459 | 16 # Rules to configure and make the package. |
pascal@18459 | 17 compile_rules() |
pascal@18459 | 18 { |
al@19797 | 19 ./configure $CONFIGURE_ARGS && |
pascal@18459 | 20 make && |
pascal@18460 | 21 make -j 1 DESTDIR=$DESTDIR install |
pascal@18459 | 22 } |
pascal@18459 | 23 |
pascal@18459 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18459 | 25 genpkg_rules() |
pascal@18459 | 26 { |
al@19797 | 27 case $PACKAGE in |
al@19797 | 28 c-ares) copy @std;; |
al@19797 | 29 *-dev) copy @dev;; |
al@19797 | 30 esac |
pascal@18459 | 31 } |